diff options
author | Mathias Buhr <napcode@apparatus.de> | 2015-08-29 13:45:43 +0200 |
---|---|---|
committer | Mathias Buhr <mathias.buhr@citrix.com> | 2015-09-03 09:54:23 +0200 |
commit | 95b144ee583e49d8532749a1e820f93c5f701381 (patch) | |
tree | ba6cbbb1ddea23b71a94a8326b5d00f68b8a0cf8 /libs/ardour/ardour/session.h | |
parent | 30af404def27675c8e85cea2e50db76c054af276 (diff) |
Use const reference and renames variable
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r-- | libs/ardour/ardour/session.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index f5ff34e72d..1ab53606ee 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -198,9 +198,8 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop std::string plugins_dir () const; ///< Plugin state std::string externals_dir () const; ///< Links to external files - std::string peak_path (std::string) const; + std::string peak_path (const std::string&) const; - std::string peak_path_from_audio_path (std::string) const; bool audio_source_name_is_unique (const std::string& name); std::string format_audio_source_name (const std::string& legalized_base, uint32_t nchan, uint32_t chan, bool destructive, bool take_required, uint32_t cnt, bool related_exists); std::string new_audio_source_path_for_embedded (const std::string& existing_path); |