]> git.donarmstrong.com Git - lilypond.git/commitdiff
std:: macramee
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 23 Jan 2006 21:12:19 +0000 (21:12 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 23 Jan 2006 21:12:19 +0000 (21:12 +0000)
flower/include/std-string.hh
flower/std-string.cc

index 1a505cc79a40ad10175f1e2873859accabf5c2c2..d623145479b01d71420dfce59cbc3b902b80b8df 100644 (file)
@@ -47,11 +47,13 @@ namespace std {
   Std_string to_std_string (long b);
   Std_string to_std_string (bool b);
   Std_string to_std_string (char const *format, ...);
-}
 
-}
 #endif /* STD_STRING */
+
+  Std_string &replace_all (Std_string &str, Std_string find, Std_string replace);
+#if STD_STRING
+}
+#endif
   
-Std_string &replace_all (Std_string &str, Std_string find, Std_string replace);
 
 #endif /* STD_STRING_HH */
index e9cd0d9e5cac08eea88ef7a6f8b0200d57ea746a..62edc829bee6cdec1cb309efe24a68e2dea43478 100644 (file)
@@ -19,7 +19,6 @@ namespace std {
        n=1.  */
     return Std_string (n, c);
   }
-}
 
 #define FIND_FAILED string::npos
 #define SIZE_T size_t
@@ -40,3 +39,6 @@ replace_all (Std_string &str, Std_string find, Std_string replace)
   return str;
 }
 
+#if STD_STRING
+}
+#endif