]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/episema-engraver.cc
Doc: Included/compile.itexi - CG 4.2 - Updated notes on reqs for compiling
[lilypond.git] / lily / episema-engraver.cc
index 4c60b2d9dbe145791dcfdf9064c7e47332a84515..ec33c180cc079cc0eb351ae1c73f198fc33c0087 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2010--2014 Neil Puttock <n.puttock@gmail.com>
+  Copyright (C) 2010--2015 Neil Puttock <n.puttock@gmail.com>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -27,6 +27,8 @@
 
 #include "translator.icc"
 
+using std::vector;
+
 class Episema_engraver : public Engraver
 {
 public:
@@ -106,7 +108,7 @@ Episema_engraver::typeset_all ()
         {
           Grob *col = (note_columns_.size ()
                        ? note_columns_.back ()
-                       : Grob::unsmob (get_property ("currentMusicalColumn")));
+                       : unsmob<Grob> (get_property ("currentMusicalColumn")));
           finished_->set_bound (RIGHT, col);
         }
       finished_ = 0;
@@ -120,7 +122,7 @@ Episema_engraver::stop_translation_timestep ()
     {
       Grob *col = (note_columns_.size ()
                    ? note_columns_.front ()
-                   : Grob::unsmob (get_property ("currentMusicalColumn")));
+                   : unsmob<Grob> (get_property ("currentMusicalColumn")));
       span_->set_bound (LEFT, col);
     }