1
0
forked from mirrors/0ad

Use explicit types instead of auto.

This was SVN commit r17642.
This commit is contained in:
leper
2016-01-13 00:42:55 +00:00
parent 27fab6bf1e
commit fb92761c92
8 changed files with 30 additions and 35 deletions
@@ -89,7 +89,7 @@ bool JSI_IGUIObject::getProperty(JSContext* cx, JS::HandleObject obj, JS::Handle
if (propName.substr(0, 2) == "on")
{
CStr eventName(CStr(propName.substr(2)).LowerCase());
auto it = e->m_ScriptHandlers.find(eventName);
std::map<CStr, JS::Heap<JSObject*>>::iterator it = e->m_ScriptHandlers.find(eventName);
if (it == e->m_ScriptHandlers.end())
vp.setNull();
else