Skip to content

Commit

Permalink
Trivial fixes for Visual Studio (#299)
Browse files Browse the repository at this point in the history
* Added Resharper C++ cache folder to .gitignore.

* Fixed missing <algorithm> includes in Visual Studio.
  • Loading branch information
nubtron authored and ashdnazg committed Mar 10, 2017
1 parent b569ed7 commit 8cda0f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -62,6 +62,7 @@ progress.make
/rts/build/vstudio10/Release with error catching
/rts/build/vstudio10/Release+MT with error catching
/rts/build/vstudio10/Syncdebug
/_ReSharper.Caches

# Windows libraries used by spring when compiling with MinGW
# recommended: place the dir somewhere else, and specify with
Expand Down
1 change: 1 addition & 0 deletions rts/Game/Players/PlayerHandler.cpp
Expand Up @@ -8,6 +8,7 @@
#include "Sim/Misc/GlobalConstants.h"
#include "Game/GameSetup.h"
#include "Game/SelectedUnitsHandler.h"
#include <algorithm>

CR_BIND(CPlayerHandler,)

Expand Down
1 change: 1 addition & 0 deletions rts/Rendering/GL/Light.h
Expand Up @@ -6,6 +6,7 @@
#include "System/Object.h"
#include "System/float3.h"
#include "System/float4.h"
#include <algorithm>

namespace GL {
struct Light: public CObject {
Expand Down
1 change: 1 addition & 0 deletions rts/Sim/MoveTypes/MoveType.h
Expand Up @@ -6,6 +6,7 @@
#include "System/creg/creg_cond.h"
#include "System/Object.h"
#include "System/float3.h"
#include <algorithm>

class CUnit;

Expand Down

0 comments on commit 8cda0f2

Please sign in to comment.