]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/custos.cc
Issue 4550 (1/2) Avoid "using namespace std;" in included files
[lilypond.git] / lily / custos.cc
index 584dcaba4962a8c645db60d9432865c961084aa3..3ba5db834e22f7a79c8f770f3fdc2493a5f6000b 100644 (file)
@@ -37,11 +37,13 @@ using namespace std;
 #include "staff-symbol-referencer.hh"
 #include "warn.hh"
 
+using std::string;
+
 MAKE_SCHEME_CALLBACK (Custos, print, 1);
 SCM
 Custos::print (SCM smob)
 {
-  Item *me = (Item *)Grob::unsmob (smob);
+  Item *me = (Item *)unsmob<Grob> (smob);
 
   SCM scm_style = me->get_property ("style");
   string style;