'const' is ignored in the return type of functions, so don't specify it.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 6 Nov 2008 09:07:28 +0000 (09:07 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 6 Nov 2008 09:07:28 +0000 (09:07 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2160 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/nodebase.h

index dd974c6..8785249 100644 (file)
@@ -86,8 +86,8 @@ public:
        PX_DEFINE_FUNC0(signal_changed, sigc::signal<void>)
        PX_DEFINE_FUNC0(signal_deleted, sigc::signal<void>)
                
-       PX_DEFINE_FUNC_CONST0(get_parents, const NodeList)
-       PX_DEFINE_FUNC_CONST0(get_children, const NodeList)
+       PX_DEFINE_FUNC_CONST0(get_parents, NodeList)
+       PX_DEFINE_FUNC_CONST0(get_children, NodeList)
 
        PX_DEFINE_FUNC1(query_children, NodeList, Query)