X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fsource-file.hh;h=5f3553aea08c46e94a746ad410bfa3ec18d8d2e5;hb=608c933383697574c61efe2e9c47982f23ee2ee2;hp=e4bdc3f63843ac97019412e11d9f328957de7a29;hpb=d61cf3bbdb1c6670a127ba3baddf2f04d3e34fd3;p=lilypond.git diff --git a/lily/include/source-file.hh b/lily/include/source-file.hh index e4bdc3f638..5f3553aea0 100644 --- a/lily/include/source-file.hh +++ b/lily/include/source-file.hh @@ -48,8 +48,8 @@ class Source_file DECLARE_SMOBS (Source_file); public: - Source_file (string fn); - Source_file (string, string); + Source_file (const string &fn); + Source_file (const string&, const string&); char const *c_str () const; virtual string quote_input (char const *pos_str0) const; @@ -73,7 +73,7 @@ protected: int line_offset_; }; -vector gulp_file (string fn, int desired); +vector gulp_file (const string &fn, int desired); #endif /* SOURCE_FILE_HH */