diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-11-08 00:05:18 +0000 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-11-08 00:05:18 +0000 |
| commit | 360c84e0351728b0c0479ceddba924997acb46e4 (patch) | |
| tree | defdc0804107db86c03fc4eb142d523340154a79 /controller/JSONDB.hpp | |
| parent | 4868d21526d7cbced5786dc9359a6ded4200e284 (diff) | |
| download | infinitytier-360c84e0351728b0c0479ceddba924997acb46e4.tar.gz infinitytier-360c84e0351728b0c0479ceddba924997acb46e4.zip | |
Minor fixes.
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 a9a5e6ac..bd1ae5a5 100644 --- a/controller/JSONDB.hpp +++ b/controller/JSONDB.hpp @@ -79,7 +79,7 @@ public: { for(std::map<std::string,_E>::iterator i(_db.lower_bound(prefix));i!=_db.end();) { if ((i->first.length() >= prefix.length())&&(!memcmp(i->first.data(),prefix.data(),prefix.length()))) { - if (!func(i->first,get(i->second.obj,maxSinceCheck))) { + if (!func(i->first,get(i->first,maxSinceCheck))) { std::map<std::string,_E>::iterator i2(i); ++i2; this->erase(i->first); i = i2; |
