]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/file-path.hh
Imported Upstream version 2.18.0
[lilypond.git] / flower / include / file-path.hh
index 29ca17f24638a81dd3f4cf988ac5c7c21d5748af..8c8049391d9b5e1c1834643752b5818cf776c329 100644 (file)
@@ -38,16 +38,16 @@ class File_path
 
 public:
   vector<string> directories () const;
-  string find (string name) const;
-  string find (string name, char const *extensions[]);
+  string find (const string &name) const;
+  string find (const string &name, char const *extensions[]);
   string to_string () const;
   bool try_append (string str);
-  void append (string str);
-  void parse_path (string);
-  void prepend (string str);
+  void append (const string&);
+  void parse_path (const string&);
+  void prepend (const string&);
 };
 
-bool is_file (string file_name);
+bool is_file (const string &file_name);
 bool is_dir (string file_name);
 
 #endif /* FILE_PATH */