]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/text-interface.cc
Issue 4954/1: Change spanner-id to be a key instead of a string
[lilypond.git] / lily / text-interface.cc
index b8ec1d6c88f31b7077ff5caed0f83724b611728d..4598246163af04abbab830d2e6bf23f0186aaa9a 100644 (file)
@@ -35,8 +35,6 @@
 #include "warn.hh"
 #include "lily-imports.hh"
 
-using std::string;
-
 static void
 replace_special_characters (string &str, SCM props)
 {
@@ -47,7 +45,7 @@ replace_special_characters (string &str, SCM props)
   int max_length = 0;
   for (SCM s = replacement_alist; scm_is_pair (s); s = scm_cdr (s))
     {
-      max_length = std::max (max_length, scm_to_int
+      max_length = max (max_length, scm_to_int
                         (scm_string_length (scm_caar (s))));
     }