forked from mirrors/0ad
Ticket #2127 - Performance and style improvements in scriptinterface.
No real behavior changes, only code maintenance. Fixed signed/unsigned mismatch in EntityMap.h This was SVN commit r13865.
This commit is contained in:
@@ -1092,7 +1092,7 @@ std::string ScriptInterface::StringifyJSON(jsval obj, bool indent)
|
||||
JS_ClearPendingException(m->m_cx);
|
||||
LOGERROR(L"StringifyJSON failed");
|
||||
JS_ClearPendingException(m->m_cx);
|
||||
return "";
|
||||
return std::string();
|
||||
}
|
||||
|
||||
return str.stream.str();
|
||||
|
||||
Reference in New Issue
Block a user