NO-OP: consistent writing

This commit is contained in:
Nikolaus Gullotta 2019-08-22 13:10:15 -05:00 committed by Nikolaus Gullotta
parent a30ef6d0b4
commit 727ae70e3b
No known key found for this signature in database
GPG key ID: 565F60578092AA31
2 changed files with 4 additions and 4 deletions

View file

@ -39,8 +39,8 @@ public:
MixerSnapshotManager (ARDOUR::Session*);
~MixerSnapshotManager() {}
void create_snapshot(std::string const& label, RouteList& rl, bool global);
void create_snapshot(std::string const& label, std::string const& from_path, bool global);
void create_snapshot(const std::string& label, RouteList& rl, bool global);
void create_snapshot(const std::string& label, const std::string& from_path, bool global);
bool rename_snapshot(MixerSnapshot*, const std::string&);
bool remove_snapshot(MixerSnapshot*);

View file

@ -197,7 +197,7 @@ MixerSnapshot* MixerSnapshotManager::get_snapshot_by_name(const string& name, bo
}
}
void MixerSnapshotManager::create_snapshot(std::string const& label, RouteList& rl, bool global)
void MixerSnapshotManager::create_snapshot(const string& label, RouteList& rl, bool global)
{
ensure_snapshot_dir(global);
const string path = global ? _global_path : _local_path;
@ -236,7 +236,7 @@ void MixerSnapshotManager::create_snapshot(std::string const& label, RouteList&
snapshots_list.insert(snapshot);
}
void MixerSnapshotManager::create_snapshot(std::string const& label, std::string const& from_path, bool global)
void MixerSnapshotManager::create_snapshot(const string& label, const string& from_path, bool global)
{
ensure_snapshot_dir(global);
const string path = global ? _global_path : _local_path;