]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grob.cc
Issue 3531: replaced function argument 'string' by 'const string&' where it makes...
[lilypond.git] / lily / grob.cc
index 43828310a799d833820018766c776d8cbd138288..dee7bdaa3cfd5d4506f51b8c11250bbcc1fe95a9 100644 (file)
@@ -724,7 +724,7 @@ Grob::internal_vertical_less (Grob *g1, Grob *g2, bool pure)
   MESSAGES
 ****************************************************************/
 void
-Grob::programming_error (string s) const
+Grob::programming_error (const string &s) const
 {
   SCM cause = self_scm ();
   while (Grob *g = unsmob_grob (cause))
@@ -740,7 +740,7 @@ Grob::programming_error (string s) const
 }
 
 void
-Grob::warning (string s) const
+Grob::warning (const string &s) const
 {
   SCM cause = self_scm ();
   while (Grob *g = unsmob_grob (cause))