From: David Kastrup Date: Fri, 27 May 2016 08:20:18 +0000 (+0200) Subject: Issue 4863: Protect Grob_interface<>::interface_symbol_ X-Git-Tag: release/2.19.43-1~31 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;ds=sidebyside;h=193369dddc8adc492d3d98b6f1d00de11a31e9c4;p=lilypond.git Issue 4863: Protect Grob_interface<>::interface_symbol_ --- diff --git a/lily/include/grob-interface.hh b/lily/include/grob-interface.hh index 9c3eadb4b0..bde5f5263d 100644 --- a/lily/include/grob-interface.hh +++ b/lily/include/grob-interface.hh @@ -21,6 +21,7 @@ #define INTERFACE_HH #include "lily-guile.hh" +#include "protected-scm.hh" class Grob; @@ -57,14 +58,14 @@ private: friend bool has_interface(Grob *); private: - static SCM interface_symbol_; + static Protected_scm interface_symbol_; static char const *cxx_name_; static char const *description_; static char const *variables_; }; template -SCM Grob_interface::interface_symbol_; +Protected_scm Grob_interface::interface_symbol_; #endif /* INTERFACE_HH */