X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Frelocate.hh;h=c531d97cfb98d496cda307cd1f11a68d7d2b988d;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=1a3e8a38d9928ea161112debe86754d3a69c6a8a;hpb=d61cf3bbdb1c6670a127ba3baddf2f04d3e34fd3;p=lilypond.git diff --git a/lily/include/relocate.hh b/lily/include/relocate.hh index 1a3e8a38d9..c531d97cfb 100644 --- a/lily/include/relocate.hh +++ b/lily/include/relocate.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2005--2012 Han-Wen Nienhuys + Copyright (C) 2005--2015 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,11 +22,11 @@ #include "std-string.hh" -void read_relocation_dir (string dirname); -void read_relocation_file (string filename); -string expand_environment_variables (string orig); +void read_relocation_dir (const string &dirname); +void read_relocation_file (const string &filename); +string expand_environment_variables (const string &orig); -int sane_putenv (char const *key, string value, bool overwrite); +int sane_putenv (char const *key, const string &value, bool overwrite); void setup_paths (char const *argv0); extern bool relocate_binary;