Fix compile on newer gcc.
This commit is contained in:
@@ -126,7 +126,7 @@ private:
|
|||||||
void GameOver(PacketFunctions& Packet, const unsigned int clientNum);
|
void GameOver(PacketFunctions& Packet, const unsigned int clientNum);
|
||||||
void ScreenNetMusicSelectStatus(PacketFunctions& Packet, const unsigned int clientNum);
|
void ScreenNetMusicSelectStatus(PacketFunctions& Packet, const unsigned int clientNum);
|
||||||
void AnalizeChat(PacketFunctions &Packet, const unsigned int clientNum);
|
void AnalizeChat(PacketFunctions &Packet, const unsigned int clientNum);
|
||||||
RString StepManiaLanServer::ListPlayers();
|
RString ListPlayers();
|
||||||
void Kick(RString &name);
|
void Kick(RString &name);
|
||||||
void Ban(RString &name);
|
void Ban(RString &name);
|
||||||
bool IsBanned(RString &ip);
|
bool IsBanned(RString &ip);
|
||||||
|
|||||||
@@ -82,9 +82,9 @@ struct FileSet
|
|||||||
class FilenameDB
|
class FilenameDB
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
FilenameDB::FilenameDB():
|
FilenameDB():
|
||||||
m_Mutex("FilenameDB"), ExpireSeconds( -1 ) { }
|
m_Mutex("FilenameDB"), ExpireSeconds( -1 ) { }
|
||||||
virtual FilenameDB::~FilenameDB() { FlushDirCache(); }
|
virtual ~FilenameDB() { FlushDirCache(); }
|
||||||
|
|
||||||
void AddFile( const RString &sPath, int iSize, int iHash, void *pPriv=NULL );
|
void AddFile( const RString &sPath, int iSize, int iHash, void *pPriv=NULL );
|
||||||
void DelFile( const RString &sPath );
|
void DelFile( const RString &sPath );
|
||||||
|
|||||||
@@ -878,7 +878,7 @@ public:
|
|||||||
|
|
||||||
while ( (nIdx=this->find(szOld, nIdx)) != MYBASE::npos )
|
while ( (nIdx=this->find(szOld, nIdx)) != MYBASE::npos )
|
||||||
{
|
{
|
||||||
replace(this->begin()+nIdx, this->begin()+nIdx+nOldLen, szRealNew);
|
MYBASE::replace(this->begin()+nIdx, this->begin()+nIdx+nOldLen, szRealNew);
|
||||||
nReplaced++;
|
nReplaced++;
|
||||||
nIdx += nNewLen;
|
nIdx += nNewLen;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user