]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/midi-stream.cc
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / lily / midi-stream.cc
index 07e9e45e100fdb55a72a377f2c3d28ef4da63d4f..d0f853109468727e0d038adeb1fb2a5194f4ad36 100644 (file)
@@ -30,8 +30,6 @@ using namespace std;
 #include "string-convert.hh"
 #include "warn.hh"
 
-using std::string;
-
 Midi_stream::Midi_stream (const string &file_name)
 {
   file_name_string_ = file_name;
@@ -53,7 +51,7 @@ Midi_stream::write (const string &str)
   size_t written = fwrite (str.data (), sz, n, out_file_);
 
   if (written != sz * n)
-    warning (_f ("cannot write to file: `%s'", str.data ()));
+    warning (_f ("cannot write to file: `%s'", file_name_string_.c_str ()));
 }
 
 void