Index: lily/pitch.cc |
diff --git a/lily/pitch.cc b/lily/pitch.cc |
index 72f34d45d742abfb1bc1b1fb9af5896def21448d..98cdc0f979ebc2082592e6fedb1e3860f15650c7 100644 |
--- a/lily/pitch.cc |
+++ b/lily/pitch.cc |
@@ -154,7 +154,7 @@ string |
Pitch::to_string () const |
{ |
int n = (notename_ + 2) % scale_->step_count (); |
- string s = ::to_string (char (n + 'a')); |
+ string s (1, static_cast<char> (n + 'a')); |
Rational qtones = alteration_ * Rational (4, 1); |
int qt = int (rint (Real (qtones))); |
@@ -169,7 +169,7 @@ Pitch::to_string () const |
{ |
int o = (-octave_) - 1; |
while (o--) |
- s += ::to_string (','); |
+ s += ','; |
} |
return s; |