void UpdateHashToFunctionMap() { lock_guard guard(functions_lock); hashToFunction.clear(); // 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++) { AnalyzedFunction &f = *iter; if (f.hasHash && f.size > 16) { hashToFunction.insert(std::make_pair(f.hash, &f)); } } }