diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 0da913d8a2..8fc42466ed 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -426,8 +426,6 @@ class Session : public PBD::StatefulDestructible void remove_state (string snapshot_name); void rename_state (string old_name, string new_name); - static int rename_template (string old_name, string new_name); - static int delete_template (string name); sigc::signal StateSaved; diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 291443efd4..289447f65f 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -1619,15 +1619,6 @@ Session::save_template (string template_name) return 0; } -int -Session::rename_template (string old_name, string new_name) -{ - string old_path = template_dir() + old_name + template_suffix; - string new_path = template_dir() + new_name + template_suffix; - - return rename (old_path.c_str(), new_path.c_str()); -} - int Session::delete_template (string name) {