From 153aeb14fcf70d528a638ed98fe8ec4eb350cfab Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 6 Jul 2014 14:06:13 +0200 Subject: [PATCH] remove cruft. periodic save is done with maybe_write_autosave() --- libs/ardour/ardour/session.h | 1 - libs/ardour/session_state.cc | 6 ------ 2 files changed, 7 deletions(-) diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index c967afa3f3..d6fb4ffe10 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -1130,7 +1130,6 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop gint _suspend_save; /* atomic */ volatile bool _save_queued; - void auto_save(); int load_options (const XMLNode&); int load_state (std::string snapshot_name); diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index e5e8866b42..3eb2ec6ac1 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -2285,12 +2285,6 @@ Session::load_route_groups (const XMLNode& node, int version) return 0; } -void -Session::auto_save() -{ - save_state (_current_snapshot_name); -} - static bool state_file_filter (const string &str, void* /*arg*/) {