]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/translator.icc
Issue 1375/1: Let Translator constructor take a Context argument
[lilypond.git] / lily / include / translator.icc
index 80a7466cd18c0a6e4a41d3bfebd57143890a1f96..20954ead0b6b1c670783ac07a8697421d55f0c6c 100644 (file)
@@ -36,7 +36,7 @@
   static void _ ## T ## _adder ()                                       \
   {                                                                     \
     T::boot ();                                                         \
-    T *t = new T;                                                       \
+    T *t = new T(0);                                                    \
     T::static_description_ =                                            \
       scm_permanent_object (t->static_translator_description ());       \
     add_translator (t);                                                 \