]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lyric-engraver.cc
Issue 4550 (1/2) Avoid "using namespace std;" in included files
[lilypond.git] / lily / lyric-engraver.cc
index bc576bf3ccc669f23fbea53df01ce072c069549b..7c88ccc8c74b4d93fbcdbeeb6f1058721d9b8237 100644 (file)
@@ -27,6 +27,8 @@
 
 #include "translator.icc"
 
+using std::string;
+
 /**
    Generate texts for lyric syllables.  We only do one lyric at a time.
    Multiple copies of this engraver should be used to do multiple voices.
@@ -158,7 +160,7 @@ get_current_note_head (Context *voice)
       // here.  Not with this mechanism.
       if ((*end_mom == end_from_now)
           && dynamic_cast<Item *> (g)
-          && Note_head::has_interface (g))
+          && has_interface<Note_head> (g))
         {
           return g;
         }