TDB2: Explicitly mark updates done as addition to optimize performance

We are able to avoid loading the completed.data in certain scenarios.
This commit is contained in:
Tomas Babej 2015-02-28 22:08:31 +01:00 committed by Paul Beckingham
parent 48be6986c2
commit f0cc0151b7
2 changed files with 5 additions and 4 deletions

View file

@ -128,7 +128,7 @@ public:
private:
void gather_changes ();
void update (const std::string&, Task&, const bool);
void update (const std::string&, Task&, const bool, const bool addition = false);
bool verifyUniqueUUID (const std::string&);
void show_diff (const std::string&, const std::string&, const std::string&);
void revert_undo (std::vector <std::string>&, std::string&, std::string&, std::string&, std::string&);