]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/beam.cc
Issue 4550 (1/2) Avoid "using namespace std;" in included files
[lilypond.git] / lily / beam.cc
index c18c3d8430be70e4b0ccccaf4584283aef3ad913..6bdaab9d9fc3ece40cb5311cf422d10957d940ce 100644 (file)
 
 #include <map>
 
+using std::map;
+using std::string;
+using std::vector;
+
 Beam_stem_segment::Beam_stem_segment ()
 {
   max_connect_ = 1000;          // infinity
@@ -1232,7 +1236,7 @@ Beam::rest_collision_callback (SCM smob, SCM prev_offset)
     return scm_from_double (0.0);
   Grob *beam = unsmob<Grob> (stem->get_object ("beam"));
   if (!beam
-      || !Beam::has_interface (beam)
+      || !has_interface<Beam> (beam)
       || !Beam::normal_stem_count (beam))
     return scm_from_double (0.0);