mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-22 21:46:55 +00:00
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