]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/articulations.cc
Doc: Included/compile.itexi - CG 4.2 - Updated notes on reqs for compiling
[lilypond.git] / lily / articulations.cc
index 164e8e7fa2fa4bb985b20e4a00c2c89f1756d01c..5b1bcfd68e64b790dcbd27cdef2c6f9d80e0f96d 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2010--2014 Carl Sorensen <c_sorensen@byu.edu>
+  Copyright (C) 2010--2015 Carl Sorensen <c_sorensen@byu.edu>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -23,6 +23,8 @@
 #include "warn.hh"
 #include "context.hh"
 
+using std::vector;
+
 /*
   Return an articulation list given a note_events vector and an
   articulation_events vector.
@@ -56,7 +58,7 @@ articulation_list (vector<Stream_event *> note_events,
       for (SCM s = event->get_property ("articulations");
            !articulation_event && scm_is_pair (s); s = scm_cdr (s))
         {
-          Stream_event *art = unsmob_stream_event (scm_car (s));
+          Stream_event *art = unsmob<Stream_event> (scm_car (s));
 
           if (art->in_event_class (articulation_name))
             articulation_event = art;