13
0

Add some const'ness

This commit is contained in:
Robin Gareus 2020-01-30 23:35:37 +01:00
parent d887f5965a
commit 44e55c501e
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 3 additions and 3 deletions

View File

@ -2314,7 +2314,7 @@ ARDOUR_UI::meta_session_setup (const std::string& script_path)
}
void
ARDOUR_UI::display_cleanup_results (ARDOUR::CleanupReport& rep, const gchar* list_title, const bool msg_delete)
ARDOUR_UI::display_cleanup_results (ARDOUR::CleanupReport const& rep, const gchar* list_title, const bool msg_delete)
{
size_t removed;
@ -2421,7 +2421,7 @@ will release an additional %3 %4bytes of disk space.\n", removed),
dhbox.pack_start (*dimage, true, false, 5);
dhbox.pack_start (txt, true, false, 5);
for (vector<string>::iterator i = rep.paths.begin(); i != rep.paths.end(); ++i) {
for (vector<string>::const_iterator i = rep.paths.begin(); i != rep.paths.end(); ++i) {
TreeModel::Row row = *(results_model->append());
row[results_columns.visible_name] = *i;
row[results_columns.fullpath] = *i;

View File

@ -765,7 +765,7 @@ private:
Gtk::MenuItem *cleanup_item;
void display_cleanup_results (ARDOUR::CleanupReport& rep, const gchar* list_title, const bool msg_delete);
void display_cleanup_results (ARDOUR::CleanupReport const& rep, const gchar* list_title, const bool msg_delete);
void cleanup ();
void cleanup_peakfiles ();
void flush_trash ();