]> git.donarmstrong.com Git - lilypond.git/commitdiff
Avoid gratuitous use of Protected_scm copy constructor
authorDavid Kastrup <dak@gnu.org>
Fri, 8 May 2015 09:34:32 +0000 (11:34 +0200)
committerDavid Kastrup <dak@gnu.org>
Tue, 12 May 2015 10:32:55 +0000 (12:32 +0200)
lily/grob-property.cc

index 1c755bf7b08ece8a52b194ffddcdcb881102e77d..2812643c3ee7a3f2e5fcb772717ee7fd5abf0357 100644 (file)
@@ -22,7 +22,7 @@
 #include "warn.hh"
 #include "protected-scm.hh"
 
-Protected_scm grob_property_callback_stack = SCM_EOL;
+Protected_scm grob_property_callback_stack (SCM_EOL);
 
 extern bool debug_property_callbacks;
 
@@ -36,8 +36,8 @@ print_property_callback_stack ()
 }
 #endif
 
-static Protected_scm modification_callback = SCM_EOL;
-static Protected_scm cache_callback = SCM_EOL;
+static Protected_scm modification_callback (SCM_EOL);
+static Protected_scm cache_callback (SCM_EOL);
 
 /*
 FIXME: this should use ly:set-option interface instead.