Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-02-23 13:40:10 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-02-23 13:40:10 +0400
commitd881bb4b32d1dff089b6f8c61d0f0fdd16d2b82b (patch)
tree9bbbb4dff81ea59ddc2daf386e851f8ac2588d0b /source/gameengine/Rasterizer/RAS_ICanvas.h
parent09ee59c669dfa51bab22fe2552d619763a8c98a3 (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/Rasterizer/RAS_ICanvas.h')
-rw-r--r--source/gameengine/Rasterizer/RAS_ICanvas.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/gameengine/Rasterizer/RAS_ICanvas.h b/source/gameengine/Rasterizer/RAS_ICanvas.h
index 3ca1c992162..2c2f62c946e 100644
--- a/source/gameengine/Rasterizer/RAS_ICanvas.h
+++ b/source/gameengine/Rasterizer/RAS_ICanvas.h
@@ -36,8 +36,6 @@
#include "MEM_guardedalloc.h"
#endif
-using namespace std;
-
class RAS_Rect;
/**