X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Flilypond-version.cc;h=3996b42c5ebfe8252f720725d963bd9115575e5f;hb=f0b7ccb46df75c89e1f69dd4ef42ab370f1847fe;hp=b773723a93ed4e0b4b5ca4761ccb7d99afa65693;hpb=a6ee9dcd388111e842064a8d46ab06c4897a00d2;p=lilypond.git diff --git a/lily/lilypond-version.cc b/lily/lilypond-version.cc index b773723a93..3996b42c5e 100644 --- a/lily/lilypond-version.cc +++ b/lily/lilypond-version.cc @@ -3,8 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1998--2002 Jan Nieuwenhuizen - + (c) 1998--2005 Jan Nieuwenhuizen */ #include "lilypond-input-version.hh" @@ -34,14 +33,14 @@ Lilypond_version::Lilypond_version (String str) } String -Lilypond_version::string () const +Lilypond_version::to_string () const { - return to_string (major_) + "." + to_string (minor_) + "." + to_string (patch_); + return ::to_string (major_) + "." + ::to_string (minor_) + "." + ::to_string (patch_); } Lilypond_version::operator int () const { - // ugh + // ugh return 100000 * major_ + 1000 * minor_ + patch_; }