]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/pitch-interval.cc
Don't call Pitch::Pitch with more arguments than necessary.
[lilypond.git] / lily / pitch-interval.cc
index 110390441899b56a49f84c280af47990fb2fdd60..db5bae653b77b1049370247e30e22362f667a3eb 100644 (file)
@@ -29,8 +29,8 @@ Pitch_interval::Pitch_interval (Pitch p1, Pitch p2)
 
 Pitch_interval::Pitch_interval ()
 {
-  at (LEFT) = Pitch (100, 0, 0);
-  at (RIGHT) = Pitch (-100, 0, 0);
+  at (LEFT) = Pitch (100, 0);
+  at (RIGHT) = Pitch (-100, 0);
 }
 
 bool
@@ -64,8 +64,8 @@ Pitch_lexicographic_interval::Pitch_lexicographic_interval (Pitch p1, Pitch p2)
 
 Pitch_lexicographic_interval::Pitch_lexicographic_interval ()
 {
-  at (LEFT) = Pitch (100, 0, 0);
-  at (RIGHT) = Pitch (-100, 0, 0);
+  at (LEFT) = Pitch (100, 0);
+  at (RIGHT) = Pitch (-100, 0);
 }
 
 bool