diff --git a/src/mangosd/CliRunnable.cpp b/src/mangosd/CliRunnable.cpp index ca8f30217..757a0c212 100644 --- a/src/mangosd/CliRunnable.cpp +++ b/src/mangosd/CliRunnable.cpp @@ -317,7 +317,9 @@ bool ChatHandler::HandleCharacterDeletedRestoreCommand(const char* args) std::string newCharName; 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; if (!GetDeletedCharacterInfoList(foundList, searchString)) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 9c85133a0..17a24b722 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9771" + #define REVISION_NR "9772" #endif // __REVISION_NR_H__