mirror of
https://github.com/love2d/love-android.git
synced 2026-08-18 19:54:18 +02:00
Using latest love-android branch (e263d91d136d)
This commit is contained in:
@@ -38,8 +38,12 @@ void Memoizer::remove(void *key)
|
||||
|
||||
void *Memoizer::find(void *key)
|
||||
{
|
||||
if (objectMap.count(key)) return objectMap[key];
|
||||
return NULL;
|
||||
auto it = objectMap.find(key);
|
||||
|
||||
if (it != objectMap.end())
|
||||
return it->second;
|
||||
else
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
} // love
|
||||
|
||||
Reference in New Issue
Block a user