sync base with whitengold team repo

This commit is contained in:
CodeCodon
2015-07-14 11:11:51 -05:00
parent 21cbf3ec98
commit 20aa133527
11001 changed files with 2196836 additions and 240 deletions
@@ -460,12 +460,12 @@ bool ConsoleCommandParserServer::performParsing (const NetworkId & userId, const
//-----------------------------------------------------------------
else if (isAbbrev( argv[0], "dumpMemToFile"))
{
std::string fileName(Unicode::wideToNarrow(argv[1]));
std::string leakStr(Unicode::wideToNarrow(argv[2]));
bool leak = (leakStr == "true" || leakStr == "1");
MemoryManager::reportToFile(fileName.c_str(), leak);
result += getErrorMessage (argv[0], ERR_SUCCESS);
//std::string fileName(Unicode::wideToNarrow(argv[1]));
//std::string leakStr(Unicode::wideToNarrow(argv[2]));
//bool leak = (leakStr == "true" || leakStr == "1");
//
//MemoryManager::reportToFile(fileName.c_str(), leak);
//result += getErrorMessage (argv[0], ERR_SUCCESS);
}
//-----------------------------------------------------------------