]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/balloon-engraver.cc
Issue 4550 (1/2) Avoid "using namespace std;" in included files
[lilypond.git] / lily / balloon-engraver.cc
index b5c96bcce111d674bfac94b7fffe150ee6d5c4e7..813b370be7758e7a83323f0f0338dc322ea0ac79 100644 (file)
@@ -24,6 +24,8 @@
 
 #include "translator.icc"
 
+using std::vector;
+
 class Balloon_engraver : public Engraver
 {
   TRANSLATOR_DECLARATIONS (Balloon_engraver);
@@ -71,7 +73,7 @@ Balloon_engraver::acknowledge_grob (Grob_info info)
   SCM arts = cause ? cause->get_property ("articulations") : SCM_EOL;
   for (SCM s = arts; scm_is_pair (s); s = scm_cdr (s))
     {
-      Stream_event *e = Stream_event::unsmob (scm_car (s));
+      Stream_event *e = unsmob<Stream_event> (scm_car (s));
       if (e->in_event_class ("annotate-output-event"))
         {
           balloonify (info.grob (), e);