We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80ea6bb commit 86bf661Copy full SHA for 86bf661
src/xrScriptEngine/script_engine.cpp
@@ -1256,18 +1256,6 @@ void CScriptEngine::on_error(lua_State *state)
1256
#endif
1257
}
1258
1259
-#ifdef DEBUG
1260
-
1261
-static void strreplaceall(xr_string &str, LPCSTR what, LPCSTR to)
1262
-{
1263
- LPCSTR A;
1264
- int S_len = xr_strlen(what);
1265
- while (A = strstr(str.c_str(), what), A)
1266
- str.replace(A-str.c_str(), S_len, to);
1267
-}
1268
1269
-#endif
1270
1271
CScriptProcess *CScriptEngine::CreateScriptProcess(shared_str name, shared_str scripts)
1272
{ return new CScriptProcess(this, name, scripts); }
1273
0 commit comments