remove cruft.
authorRobin Gareus <robin@gareus.org>
Sun, 6 Jul 2014 12:06:13 +0000 (14:06 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 6 Jul 2014 12:43:07 +0000 (14:43 +0200)
periodic save is done with maybe_write_autosave()

libs/ardour/ardour/session.h
libs/ardour/session_state.cc

index f9affaa78dc14ec373e2102fbe6d82238adfeea5..430c0d7a8c7a5944ecbe5855d399f241e0579d56 100644 (file)
@@ -1121,7 +1121,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);
 
index eaf9f08b257693702e57771d618fcc9720b17cfb..9321973f7e94009728136456ed759cf43b587ebe 100644 (file)
@@ -2261,12 +2261,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*/)
 {