diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-23 13:40:10 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-23 13:40:10 +0400 |
commit | d881bb4b32d1dff089b6f8c61d0f0fdd16d2b82b (patch) | |
tree | 9bbbb4dff81ea59ddc2daf386e851f8ac2588d0b /source/gameengine/GameLogic | |
parent | 09ee59c669dfa51bab22fe2552d619763a8c98a3 (diff) |
BGE is compilable by MSVC again
Compilation error was mostly caused by trying to use namespace std before it was
actually defined (e.g. before any include of stl header).
It's not actually good idea to use namespaces in header files -- it's really easy to
run into namespace conflicts and so. Resolved by not using "using namespace" in header
files and using full quality accessing to stl collections (e.g. std::vector).
Diffstat (limited to 'source/gameengine/GameLogic')
-rw-r--r-- | source/gameengine/GameLogic/SCA_IScene.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/GameLogic/SCA_IScene.h b/source/gameengine/GameLogic/SCA_IScene.h index 78dd3f7183f..6f048b77acf 100644 --- a/source/gameengine/GameLogic/SCA_IScene.h +++ b/source/gameengine/GameLogic/SCA_IScene.h @@ -68,7 +68,7 @@ public: void AddDebugProperty(class CValue* debugprop, const STR_String &name); void RemoveAllDebugProperties(); - virtual void Update2DFilter(vector<STR_String>& propNames, void* gameObj, + virtual void Update2DFilter(std::vector<STR_String>& propNames, void* gameObj, RAS_2DFilterManager::RAS_2DFILTER_MODE filtermode, int pass, STR_String& text) {} |