]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/axis-group-engraver.cc
lily/page-layout-problem.cc: Avoid repeats of a warning
[lilypond.git] / lily / axis-group-engraver.cc
index 2fb6b0c17b715abc0836eec38f2c3fb69a28efd0..60d16767b0880afa354abf92aa387f181b28d274 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1999--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1999--2011 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
 
 Axis_group_engraver::Axis_group_engraver ()
 {
-  must_be_last_ = true;
   staffline_ = 0;
 }
 
+bool
+Axis_group_engraver::must_be_last () const
+{
+  return true;
+}
+
 void
 Axis_group_engraver::process_music ()
 {