iOS buildfix.

This commit is contained in:
Unknown W. Brackets 2014-11-04 08:32:43 -08:00
parent 87c4552de2
commit 7819b97c9a

View File

@ -667,7 +667,8 @@ namespace MIPSAnalyst {
void UpdateHashToFunctionMap() {
lock_guard guard(functions_lock);
hashToFunction.clear();
#ifndef __SYMBIAN32__
// Really need to detect C++11 features with better defines.
#if !defined(__SYMBIAN32__) && !defined(IOS)
hashToFunction.reserve(functions.size());
#endif
for (auto iter = functions.begin(); iter != functions.end(); iter++) {