Fix brain dead g++ 4.0.1's inability to have private constants without declaring storage for them.

This commit is contained in:
Steve Checkoway
2006-10-28 08:21:21 +00:00
parent ca674fc38d
commit 0e8a2ecd5b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ void ScreenNameEntry::Init()
const Style* pStyle = GAMESTATE->GetCurrentStyle();
const int iMaxCols = min( ABS_MAX_RANKING_NAME_LENGTH, pStyle->m_iColsPerPlayer );
const int iMaxCols = min( int(ABS_MAX_RANKING_NAME_LENGTH), pStyle->m_iColsPerPlayer );
m_ColToStringIndex[p].insert(m_ColToStringIndex[p].begin(), pStyle->m_iColsPerPlayer, -1);
int CurrentStringIndex = 0;
vector<float> xs;
+1 -1
View File
@@ -41,7 +41,7 @@ private:
static RString g_sNameChars;
};
static const int ABS_MAX_RANKING_NAME_LENGTH = 10;
enum { ABS_MAX_RANKING_NAME_LENGTH = 10 };
bool AnyStillEntering() const;
ReceptorArrowRow m_ReceptorArrowRow[NUM_PLAYERS];