diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-08-17 13:10:10 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-08-17 13:10:10 -0700 |
| commit | 174ba8884ee68c3a54776ce7fe3f8249aa934ac6 (patch) | |
| tree | a5364bd676222764dcafc8cbcc20924055e2ea16 /controller/JSONDB.hpp | |
| parent | 1ce0dcf0eab6a490c13a691f046f0e3eaee29384 (diff) | |
| download | infinitytier-174ba8884ee68c3a54776ce7fe3f8249aa934ac6.tar.gz infinitytier-174ba8884ee68c3a54776ce7fe3f8249aa934ac6.zip | |
Delete support in harnessed mode.
Diffstat (limited to 'controller/JSONDB.hpp')
| -rw-r--r-- | controller/JSONDB.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/JSONDB.hpp b/controller/JSONDB.hpp index 66d0138a..44f4d7f5 100644 --- a/controller/JSONDB.hpp +++ b/controller/JSONDB.hpp @@ -157,7 +157,7 @@ public: throw(); private: - bool _add(const nlohmann::json &j); + bool _addOrUpdate(const nlohmann::json &j); bool _load(const std::string &p); void _recomputeSummaryInfo(const uint64_t networkId); std::string _genPath(const std::string &n,bool create); |
