mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[9772] Make GCC happy and restore buuild at *unix now really.
Just for note: this still look as not code problem but GCC bug in C++ std. library. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
cea7d42971
commit
17dd848242
2 changed files with 4 additions and 2 deletions
|
|
@ -317,7 +317,9 @@ bool ChatHandler::HandleCharacterDeletedRestoreCommand(const char* args)
|
||||||
std::string newCharName;
|
std::string newCharName;
|
||||||
uint32 newAccount = 0;
|
uint32 newAccount = 0;
|
||||||
|
|
||||||
std::istringstream(args) >> searchString >> newCharName >> newAccount;
|
// GCC by some strange reason fail build code without temporary variable
|
||||||
|
std::istringstream params(args);
|
||||||
|
params >> searchString >> newCharName >> newAccount;
|
||||||
|
|
||||||
DeletedInfoList foundList;
|
DeletedInfoList foundList;
|
||||||
if (!GetDeletedCharacterInfoList(foundList, searchString))
|
if (!GetDeletedCharacterInfoList(foundList, searchString))
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9771"
|
#define REVISION_NR "9772"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue