]> git.donarmstrong.com Git - lilypond.git/commitdiff
Pitch::Pitch (int, int) is declared but not defined
authorDavid Kastrup <dak@gnu.org>
Tue, 24 Jun 2014 18:48:15 +0000 (20:48 +0200)
committerDavid Kastrup <dak@gnu.org>
Mon, 21 Jul 2014 07:36:44 +0000 (09:36 +0200)
This caters for the definition by making the last argument of
Pitch::Pitch (int, int, Rational) a default argument.

lily/include/pitch.hh

index cab0c5092202a2b46f4b2b9cc2c96a89c66039c7..eff3f66d79856ce0ea82faec6b15b441c91fb9b3 100644 (file)
@@ -52,8 +52,7 @@ public:
   int get_notename () const;
   Rational get_alteration () const;
 
-  Pitch (int octave, int notename, Rational accidental);
-  Pitch (int octave, int notename);
+  Pitch (int octave, int notename, Rational accidental = 0);
   Pitch ();
 
   Pitch transposed (Pitch) const;