]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/gregorian-ligature.cc
send_stream_event(...); macro should only produce one statement
[lilypond.git] / lily / gregorian-ligature.cc
index e6e16e43931d0d6eb6f6280631fc3db8a00a73f9..2243bc6d265b6832edbae96b9ab0fdaf89b69547 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2003--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2003--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -21,7 +21,9 @@
 
 #include "grob.hh"
 
-void check_prefix (string name, int mask, int prefix_set, string *str)
+using std::string;
+
+void check_prefix (const string &name, int mask, int prefix_set, string *str)
 {
   if (prefix_set & mask)
     {