From 3d43c213f307c2a2aad27c8933801cd4dae02f90 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Tue, 24 Jun 2014 20:48:15 +0200 Subject: [PATCH] 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. --- lily/include/pitch.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.39.5