From 88ed4d003513f33476841fb49ce8f58c30b323ca Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 9 Jan 2016 22:33:06 -0500 Subject: [PATCH] TDB2: Removed obsolete method --- src/TDB2.cpp | 7 ------- src/TDB2.h | 1 - 2 files changed, 8 deletions(-) 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);