From 01f655d3bb6e2d015dcf6918b1168cf82c81c41f Mon Sep 17 00:00:00 2001 From: dooglus Date: Sat, 22 Nov 2008 15:29:28 +0000 Subject: [PATCH] Write a proper definition for ValueNode_BLine::create_new(). git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2230 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/valuenode_bline.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/synfig-core/trunk/src/synfig/valuenode_bline.cpp b/synfig-core/trunk/src/synfig/valuenode_bline.cpp index dde8a45..4f0b923 100644 --- a/synfig-core/trunk/src/synfig/valuenode_bline.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_bline.cpp @@ -858,8 +858,7 @@ ValueNode_BLine::get_local_name()const LinkableValueNode* ValueNode_BLine::create_new()const { - assert(0); - return 0; + return new ValueNode_BLine(); } bool -- 2.7.4