added spicy new segfaults

This commit is contained in:
fourtf
2017-01-11 01:08:20 +01:00
parent a8c2b1151f
commit 580a411e9d
22 changed files with 472 additions and 111 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ public:
map = new QMap<TKey, TValue>();
}
bool tryGet(const TKey &name, TValue& value) {
bool tryGet(const TKey &name, TValue& value) const {
mutex->lock();
auto a = map->find(name);
if (a == map->end()) {