From 013f4801d82cac600a4841bbeffa558014473b6d Mon Sep 17 00:00:00 2001 From: dooglus Date: Sat, 22 Nov 2008 15:26:53 +0000 Subject: [PATCH] Write a proper definition for ValueNode_DynamicList::create_new(). git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2227 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/valuenode_dynamiclist.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/synfig-core/trunk/src/synfig/valuenode_dynamiclist.cpp b/synfig-core/trunk/src/synfig/valuenode_dynamiclist.cpp index dfdf084..0f59a87 100644 --- a/synfig-core/trunk/src/synfig/valuenode_dynamiclist.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_dynamiclist.cpp @@ -735,9 +735,7 @@ ValueNode_DynamicList::get_contained_type()const LinkableValueNode* ValueNode_DynamicList::create_new()const { - assert(0); - - return 0; + return new ValueNode_DynamicList(container_type); } int -- 2.7.4