diff --git a/src/TDB2.cpp b/src/TDB2.cpp index 6fb697f2b..22dff8a72 100644 --- a/src/TDB2.cpp +++ b/src/TDB2.cpp @@ -595,13 +595,6 @@ TDB2::TDB2 () pending.auto_dep_scan (); } -//////////////////////////////////////////////////////////////////////////////// -// Deliberately no file writes on destruct. Commit should have been already -// called, if data is to be preserved. -TDB2::~TDB2 () -{ -} - //////////////////////////////////////////////////////////////////////////////// // Once a location is known, the files can be set up. Note that they are not // read. diff --git a/src/TDB2.h b/src/TDB2.h index 678cf8553..b05aa21a7 100644 --- a/src/TDB2.h +++ b/src/TDB2.h @@ -106,7 +106,6 @@ public: static bool debug_mode; TDB2 (); - ~TDB2 (); void set_location (const std::string&); void add (Task&, bool add_to_backlog = true);