[9770] Use more proper std::istringstream for parse args.

This must fix build problem at *nix.
This commit is contained in:
VladimirMangos 2010-04-21 12:16:18 +04:00
parent 6f08da7cba
commit 378c76b1c3
2 changed files with 2 additions and 2 deletions

View file

@ -317,7 +317,7 @@ bool ChatHandler::HandleCharacterDeletedRestoreCommand(const char* args)
std::string newCharName;
uint32 newAccount = 0;
std::stringstream(args) >> searchString >> newCharName >> newAccount;
std::istringstream(args) >> searchString >> newCharName >> newAccount;
DeletedInfoList foundList;
if (!GetDeletedCharacterInfoList(foundList, searchString))