mirror of
https://github.com/mangosfour/server.git
synced 2025-12-31 22:37:05 +00:00
[9770] Use more proper std::istringstream for parse args.
This must fix build problem at *nix.
This commit is contained in:
parent
6f08da7cba
commit
378c76b1c3
2 changed files with 2 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue