diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 8fc42466ed..87c1817622 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -425,8 +425,6 @@ class Session : public PBD::StatefulDestructible int restore_history (string snapshot_name); void remove_state (string snapshot_name); void rename_state (string old_name, string new_name); - - static int delete_template (string name); sigc::signal StateSaved; sigc::signal StateReady; diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 289447f65f..0fe68b1831 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -1619,16 +1619,6 @@ Session::save_template (string template_name) return 0; } -int -Session::delete_template (string name) -{ - string template_path = template_dir(); - template_path += name; - template_path += template_suffix; - - return remove (template_path.c_str()); -} - void Session::refresh_disk_space () {