From: David Kastrup Date: Tue, 24 Jun 2014 18:48:15 +0000 (+0200) Subject: Pitch::Pitch (int, int) is declared but not defined X-Git-Tag: release/2.19.11-1~28 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3d43c213f307c2a2aad27c8933801cd4dae02f90;p=lilypond.git Pitch::Pitch (int, int) is declared but not defined This caters for the definition by making the last argument of Pitch::Pitch (int, int, Rational) a default argument. --- diff --git a/lily/include/pitch.hh b/lily/include/pitch.hh index cab0c50922..eff3f66d79 100644 --- a/lily/include/pitch.hh +++ b/lily/include/pitch.hh @@ -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;