]> git.donarmstrong.com Git - lilypond.git/blobdiff - src/sccol.cc
release: 0.0.30
[lilypond.git] / src / sccol.cc
index bbd0dba1aeda4e56d77c8596591d7d34c106ec7a..2d826094da5f51b725cb62553594b150e0e47a26 100644 (file)
@@ -54,9 +54,10 @@ Score_column::preprocess()
 void
 Score_column::add_duration(Moment d)
 {
+    assert(d);
     for (int i = 0; i< durations.size(); i++) {
        if (d == durations[i])
            return ;
     }
-    durations.add(d);
+    durations.push(d);
 }