move DECLARE_ONE macro definition down by where it's used

This commit is contained in:
Chris Danford
2007-06-09 10:58:32 +00:00
parent 096f56aa2c
commit 2cfc85f8fc
+1 -3
View File
@@ -471,9 +471,6 @@ void ChangeVolume( float fDelta )
//
// DebugLines
//
#define DECLARE_ONE( x ) static x g_##x
static LocalizedString AUTO_PLAY ( "ScreenDebugOverlay", "AutoPlay" );
static LocalizedString ASSIST ( "ScreenDebugOverlay", "Assist" );
static LocalizedString AUTOSYNC ( "ScreenDebugOverlay", "Autosync" );
@@ -1088,6 +1085,7 @@ class DebugLineUptime : public IDebugLine
* that can span pages.
*/
#define DECLARE_ONE( x ) static x g_##x
DECLARE_ONE( DebugLineAutoplay );
DECLARE_ONE( DebugLineAssist );
DECLARE_ONE( DebugLineAutosync );