X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Ffile-name.cc;h=eaadadf3efc071f34ac0610d7cc5db3ef55beded;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=27ce6df6f8ef799193866636c6fceed86607fb54;hpb=f875ef39c544bd3499dae5360e9e24f69933575f;p=lilypond.git diff --git a/flower/file-name.cc b/flower/file-name.cc index 27ce6df6f8..eaadadf3ef 100644 --- a/flower/file-name.cc +++ b/flower/file-name.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2011 Han-Wen Nienhuys + Copyright (C) 1997--2015 Han-Wen Nienhuys Jan Nieuwenhuizen LilyPond is free software: you can redistribute it and/or modify @@ -51,7 +51,7 @@ using namespace std; #ifdef __CYGWIN__ static string -dos_to_posix (string file_name) +dos_to_posix (const string &file_name) { char buf[PATH_MAX] = ""; char s[PATH_MAX] = {0}; @@ -78,7 +78,7 @@ slashify (string file_name) } string -dir_name (string const file_name) +dir_name (const string &file_name) { string s = file_name; s = slashify (s);