added spicy new segfaults
This commit is contained in:
+1
-1
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user