Don't include Foreach.h in RageUtil.h which does not use it. Instead, include it in the individual files that actually use it.
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "LuaManager.h"
|
||||
#include "ProductInfo.h"
|
||||
#include "DateTime.h"
|
||||
#include "Foreach.h"
|
||||
|
||||
const RString INSTALLER_LANGUAGES_DIR = "Themes/_Installer/Languages/";
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "LuaBinding.h"
|
||||
#include "LuaReference.h"
|
||||
#include "RageUtil.h"
|
||||
#include "Foreach.h"
|
||||
|
||||
#include "SubscriptionManager.h"
|
||||
static SubscriptionManager<LuaBinding> m_Subscribers;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "PlayerState.h"
|
||||
#include "GameState.h"
|
||||
#include "RageLog.h"
|
||||
#include "Foreach.h"
|
||||
|
||||
PlayerState::PlayerState()
|
||||
{
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include "LuaManager.h"
|
||||
#include "MessageManager.h"
|
||||
#include "SubscriptionManager.h"
|
||||
#include "Foreach.h"
|
||||
|
||||
static SubscriptionManager<IPreference> m_Subscribers;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "global.h"
|
||||
#include "RageInputDevice.h"
|
||||
#include "RageUtil.h"
|
||||
#include "EnumHelper.h"
|
||||
#include "Foreach.h"
|
||||
|
||||
static map<DeviceButton,RString> g_mapNamesToString;
|
||||
static map<RString,DeviceButton> g_mapStringToNames;
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "RageTimer.h"
|
||||
#include "RageFile.h"
|
||||
#include "RageThreads.h"
|
||||
#include "Foreach.h"
|
||||
|
||||
#include <ctime>
|
||||
#if defined(_WINDOWS)
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include "Foreach.h"
|
||||
class RageFileDriver;
|
||||
|
||||
#define SAFE_DELETE(p) do { delete (p); (p)=NULL; } while( false )
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "XmlFile.h"
|
||||
#include "XmlFileUtil.h"
|
||||
#include "Course.h"
|
||||
#include "Foreach.h"
|
||||
|
||||
static const char *WorkoutProgramNames[] = {
|
||||
"FatBurn",
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "Workout.h"
|
||||
#include "WorkoutManager.h"
|
||||
#include "StatsManager.h"
|
||||
#include "Foreach.h"
|
||||
|
||||
const int MAX_METERS_TO_SHOW = Workout::GetEstimatedNumSongsFromSeconds( 90 * 60 );
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include "RageUtil.h"
|
||||
#include "RageLog.h"
|
||||
#include "arch/Dialog/Dialog.h"
|
||||
#include "Foreach.h"
|
||||
|
||||
bool XmlFileUtil::LoadFromFileShowErrors( XNode &xml, RageFileBasic &f )
|
||||
{
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "global.h"
|
||||
#include "JoystickDevice.h"
|
||||
#include "RageUtil.h"
|
||||
#include "Foreach.h"
|
||||
|
||||
using namespace std;
|
||||
using __gnu_cxx::hash_map;
|
||||
|
||||
Reference in New Issue
Block a user