]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/sustain-pedal.cc
Issue 4550 (1/2) Avoid "using namespace std;" in included files
[lilypond.git] / lily / sustain-pedal.cc
index e020bc522eb939c5fb03afd939496d57c929f424..26a5afb56453123bb4eb9150fd0126935c12dcf3 100644 (file)
@@ -20,6 +20,8 @@
 #include "stencil.hh"
 #include "font-interface.hh"
 
+using std::string;
+
 // update comment --hwn
 /*
   Urg.
@@ -48,7 +50,7 @@ MAKE_SCHEME_CALLBACK (Sustain_pedal, print, 1);
 SCM
 Sustain_pedal::print (SCM smob)
 {
-  Grob *e = Grob::unsmob (smob);
+  Grob *e = unsmob<Grob> (smob);
 
   Stencil mol;
   SCM glyph = e->get_property ("text");