]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/fingering-engraver.cc
Doc: Included/compile.itexi - CG 4.2 - Updated notes on reqs for compiling
[lilypond.git] / lily / fingering-engraver.cc
index 5e4241d5318ed34a666e91f2e8f5fe95be6497f0..f6a10d4b12d6a56c5e17d7aac35ee15a710ab778 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1998--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1998--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -28,6 +28,8 @@
 
 #include "translator.icc"
 
+using std::vector;
+
 class Fingering_engraver : public Engraver
 {
   vector<Stream_event *> events_;
@@ -101,7 +103,7 @@ Fingering_engraver::make_script (Direction d, Stream_event *r, int i)
     junkme.
   */
   SCM pitch = r->get_property ("pitch");
-  if (Pitch::unsmob (pitch))
+  if (unsmob<Pitch> (pitch))
     fingering->set_property ("pitch", pitch);
 
   /*