]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/custos.cc
Issue 4568: Check in Texinfo from upstream svn://svn.savannah.gnu.org/texinfo/trunk...
[lilypond.git] / lily / custos.cc
index 1366202f725013905fb37844b874628bec5e3bf0..b2289f267db08827a36b331a1b04abb5b011e74e 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2000--2012 Juergen Reuter <reuter@ipd.uka.de>
+  Copyright (C) 2000--2015 Juergen Reuter <reuter@ipd.uka.de>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -26,7 +26,6 @@
 
 #include <cstdio>
 #include <cmath> // rint
-using namespace std;
 
 #include "custos.hh"
 #include "direction.hh"
@@ -37,11 +36,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 *)unsmob_grob (smob);
+  Item *me = (Item *)unsmob<Grob> (smob);
 
   SCM scm_style = me->get_property ("style");
   string style;