diff --git a/demos/tutorial/01_triangle.cpp b/demos/tutorial/01_triangle.cpp index baef34e6..c767e0ad 100644 --- a/demos/tutorial/01_triangle.cpp +++ b/demos/tutorial/01_triangle.cpp @@ -15,7 +15,6 @@ #include #include "loldebug.h" -using namespace std; using namespace lol; LOLFX_RESOURCE_DECLARE(01_triangle); diff --git a/demos/tutorial/02_cube.cpp b/demos/tutorial/02_cube.cpp index b1c6a666..9a615de5 100644 --- a/demos/tutorial/02_cube.cpp +++ b/demos/tutorial/02_cube.cpp @@ -15,7 +15,6 @@ #include #include "loldebug.h" -using namespace std; using namespace lol; LOLFX_RESOURCE_DECLARE(02_cube); diff --git a/demos/tutorial/03_noise.cpp b/demos/tutorial/03_noise.cpp index 3334119f..41ae0ea1 100644 --- a/demos/tutorial/03_noise.cpp +++ b/demos/tutorial/03_noise.cpp @@ -15,7 +15,6 @@ #include #include "loldebug.h" -using namespace std; using namespace lol; LOLFX_RESOURCE_DECLARE(03_noise); diff --git a/demos/tutorial/04_texture.cpp b/demos/tutorial/04_texture.cpp index bc9bb268..b6a1eab7 100644 --- a/demos/tutorial/04_texture.cpp +++ b/demos/tutorial/04_texture.cpp @@ -15,7 +15,6 @@ #include #include "loldebug.h" -using namespace std; using namespace lol; static int const TEXTURE_WIDTH = 256; diff --git a/demos/tutorial/05_easymesh.cpp b/demos/tutorial/05_easymesh.cpp index 9e1787f5..36ce418b 100644 --- a/demos/tutorial/05_easymesh.cpp +++ b/demos/tutorial/05_easymesh.cpp @@ -15,7 +15,6 @@ #include -using namespace std; using namespace lol; #define USE_CUSTOM_SHADER 1 diff --git a/demos/tutorial/06_sprite.cpp b/demos/tutorial/06_sprite.cpp index c4ce4cd7..1f3306fb 100644 --- a/demos/tutorial/06_sprite.cpp +++ b/demos/tutorial/06_sprite.cpp @@ -15,7 +15,6 @@ #include -using namespace std; using namespace lol; class SpriteTutorial : public WorldEntity diff --git a/demos/tutorial/07_input.cpp b/demos/tutorial/07_input.cpp index 4594f183..147cd5e2 100644 --- a/demos/tutorial/07_input.cpp +++ b/demos/tutorial/07_input.cpp @@ -15,7 +15,6 @@ #include #include "loldebug.h" -using namespace std; using namespace lol; LOLFX_RESOURCE_DECLARE(07_input); diff --git a/demos/tutorial/08_fbo.cpp b/demos/tutorial/08_fbo.cpp index 283075f4..1fc76bd1 100644 --- a/demos/tutorial/08_fbo.cpp +++ b/demos/tutorial/08_fbo.cpp @@ -15,7 +15,6 @@ #include #include "loldebug.h" -using namespace std; using namespace lol; LOLFX_RESOURCE_DECLARE(08_fbo); diff --git a/demos/tutorial/12_voronoi.cpp b/demos/tutorial/12_voronoi.cpp index 3e1193aa..051de2ca 100644 --- a/demos/tutorial/12_voronoi.cpp +++ b/demos/tutorial/12_voronoi.cpp @@ -16,7 +16,6 @@ #include #include "loldebug.h" -using namespace std; using namespace lol; LOLFX_RESOURCE_DECLARE(12_voronoi); diff --git a/src/application/application.cpp b/src/application/application.cpp index 231857df..853d308a 100644 --- a/src/application/application.cpp +++ b/src/application/application.cpp @@ -35,8 +35,6 @@ # include "eglapp.h" #endif -using namespace std; - namespace lol { diff --git a/src/debug/fps.cpp b/src/debug/fps.cpp index 519e4760..e3ebb96d 100644 --- a/src/debug/fps.cpp +++ b/src/debug/fps.cpp @@ -17,8 +17,6 @@ #include #include "loldebug.h" -using namespace std; - namespace lol { diff --git a/src/debug/record.cpp b/src/debug/record.cpp index 5dd6b7ff..da8ef9f9 100644 --- a/src/debug/record.cpp +++ b/src/debug/record.cpp @@ -21,8 +21,6 @@ #include #include "loldebug.h" -using namespace std; - namespace lol { diff --git a/src/debug/stats.cpp b/src/debug/stats.cpp index 6d5a4d58..4dbb1b14 100644 --- a/src/debug/stats.cpp +++ b/src/debug/stats.cpp @@ -17,8 +17,6 @@ #include #include "loldebug.h" -using namespace std; - namespace lol { diff --git a/src/dict.cpp b/src/dict.cpp index 7c3474b1..d88be7ac 100644 --- a/src/dict.cpp +++ b/src/dict.cpp @@ -21,8 +21,6 @@ # define strcasecmp _stricmp #endif -using namespace std; - namespace lol { diff --git a/src/font.cpp b/src/font.cpp index 9a3454f5..e565fae8 100644 --- a/src/font.cpp +++ b/src/font.cpp @@ -18,8 +18,6 @@ #include -using namespace std; - namespace lol { diff --git a/src/gpu/framebuffer.cpp b/src/gpu/framebuffer.cpp index 7748e463..69383a5a 100644 --- a/src/gpu/framebuffer.cpp +++ b/src/gpu/framebuffer.cpp @@ -25,8 +25,6 @@ # undef far /* Fuck Microsoft again */ #endif -using namespace std; - namespace lol { diff --git a/src/gpu/indexbuffer.cpp b/src/gpu/indexbuffer.cpp index 0c7f0b79..d69b3c7b 100644 --- a/src/gpu/indexbuffer.cpp +++ b/src/gpu/indexbuffer.cpp @@ -25,8 +25,6 @@ # undef far /* Fuck Microsoft again */ #endif -using namespace std; - namespace lol { diff --git a/src/gpu/shader.cpp b/src/gpu/shader.cpp index cc014269..deed9b30 100644 --- a/src/gpu/shader.cpp +++ b/src/gpu/shader.cpp @@ -34,8 +34,6 @@ #include #include "lolgl.h" -using namespace std; - namespace lol { diff --git a/src/gpu/texture.cpp b/src/gpu/texture.cpp index 1ba1a3de..24d215db 100644 --- a/src/gpu/texture.cpp +++ b/src/gpu/texture.cpp @@ -21,8 +21,6 @@ # include #endif -using namespace std; - namespace lol { diff --git a/src/gpu/vertexbuffer.cpp b/src/gpu/vertexbuffer.cpp index e41d42f8..2d517a82 100644 --- a/src/gpu/vertexbuffer.cpp +++ b/src/gpu/vertexbuffer.cpp @@ -25,8 +25,6 @@ # undef far /* Fuck Microsoft again */ #endif -using namespace std; - namespace lol { diff --git a/src/gradient.cpp b/src/gradient.cpp index a7d3878a..98c08ff8 100644 --- a/src/gradient.cpp +++ b/src/gradient.cpp @@ -14,8 +14,6 @@ #include -using namespace std; - LOLFX_RESOURCE_DECLARE(gradient); namespace lol diff --git a/src/image/codec/android-image.cpp b/src/image/codec/android-image.cpp index cdbbdfb1..c5f9d068 100644 --- a/src/image/codec/android-image.cpp +++ b/src/image/codec/android-image.cpp @@ -24,8 +24,6 @@ extern "C" { #include #include "../../image/image-private.h" -using namespace std; - namespace lol { diff --git a/src/image/codec/dummy-image.cpp b/src/image/codec/dummy-image.cpp index 48bbbeb5..c544f4d0 100644 --- a/src/image/codec/dummy-image.cpp +++ b/src/image/codec/dummy-image.cpp @@ -15,8 +15,6 @@ #include #include "../../image/image-private.h" -using namespace std; - namespace lol { diff --git a/src/image/codec/gdiplus-image.cpp b/src/image/codec/gdiplus-image.cpp index 4454a665..0383c7f3 100644 --- a/src/image/codec/gdiplus-image.cpp +++ b/src/image/codec/gdiplus-image.cpp @@ -16,8 +16,6 @@ #include -using namespace std; - #include #include diff --git a/src/image/codec/imlib2-image.cpp b/src/image/codec/imlib2-image.cpp index b3cc533a..771bcd67 100644 --- a/src/image/codec/imlib2-image.cpp +++ b/src/image/codec/imlib2-image.cpp @@ -19,8 +19,6 @@ #include #include "../../image/image-private.h" -using namespace std; - namespace lol { diff --git a/src/image/codec/ios-image.cpp b/src/image/codec/ios-image.cpp index cbadd6be..1c594343 100644 --- a/src/image/codec/ios-image.cpp +++ b/src/image/codec/ios-image.cpp @@ -19,8 +19,6 @@ #include #include "../../image/image-private.h" -using namespace std; - namespace lol { diff --git a/src/image/codec/oric-image.cpp b/src/image/codec/oric-image.cpp index 73f75737..cb4ec8b0 100644 --- a/src/image/codec/oric-image.cpp +++ b/src/image/codec/oric-image.cpp @@ -15,8 +15,6 @@ #include #include "../../image/image-private.h" -using namespace std; - namespace lol { diff --git a/src/image/codec/ps3-image.cpp b/src/image/codec/ps3-image.cpp index 42efaeb4..142c5002 100644 --- a/src/image/codec/ps3-image.cpp +++ b/src/image/codec/ps3-image.cpp @@ -21,8 +21,6 @@ #include #include "../../image/image-private.h" -using namespace std; - namespace lol { diff --git a/src/image/codec/sdl-image.cpp b/src/image/codec/sdl-image.cpp index 915695fa..eafcf82b 100644 --- a/src/image/codec/sdl-image.cpp +++ b/src/image/codec/sdl-image.cpp @@ -28,8 +28,6 @@ #include #include "../../image/image-private.h" -using namespace std; - namespace lol { diff --git a/src/image/codec/zed-image.cpp b/src/image/codec/zed-image.cpp index 3539a20b..ba12b826 100644 --- a/src/image/codec/zed-image.cpp +++ b/src/image/codec/zed-image.cpp @@ -16,8 +16,6 @@ #include #include "../../image/image-private.h" -using namespace std; - namespace lol { diff --git a/src/image/codec/zed-palette-image.cpp b/src/image/codec/zed-palette-image.cpp index 016169e3..f79637b2 100644 --- a/src/image/codec/zed-palette-image.cpp +++ b/src/image/codec/zed-palette-image.cpp @@ -15,8 +15,6 @@ #include #include "../../image/image-private.h" -using namespace std; - namespace lol { diff --git a/src/lol/unit.h b/src/lol/unit.h index 4b3efc64..48be2685 100644 --- a/src/lol/unit.h +++ b/src/lol/unit.h @@ -24,8 +24,6 @@ namespace lol { -using namespace std; - /* * This is the base class for all fixtures. It keeps track of all * fixtures registered through the LOLUNIT_FIXTURE macro and puts them diff --git a/src/math/geometry.cpp b/src/math/geometry.cpp index cb273017..8cc4ffb2 100644 --- a/src/math/geometry.cpp +++ b/src/math/geometry.cpp @@ -20,8 +20,6 @@ #include -using namespace std; - namespace lol { //Test epsilon stuff diff --git a/src/math/half.cpp b/src/math/half.cpp index 3e313314..ab7f1af8 100644 --- a/src/math/half.cpp +++ b/src/math/half.cpp @@ -22,8 +22,6 @@ #include -using namespace std; - namespace lol { diff --git a/src/math/real.cpp b/src/math/real.cpp index 2dfe76ca..ebf653a0 100644 --- a/src/math/real.cpp +++ b/src/math/real.cpp @@ -19,8 +19,6 @@ #include -using namespace std; - namespace lol { diff --git a/src/math/trig.cpp b/src/math/trig.cpp index 4d814018..eaf1c93a 100644 --- a/src/math/trig.cpp +++ b/src/math/trig.cpp @@ -18,8 +18,6 @@ #include -using namespace std; - // Optimisation helpers #if defined __GNUC__ # define __likely(x) __builtin_expect(!!(x), 1) diff --git a/src/math/vector.cpp b/src/math/vector.cpp index 8844438c..23176980 100644 --- a/src/math/vector.cpp +++ b/src/math/vector.cpp @@ -19,8 +19,6 @@ #include -using namespace std; - namespace lol { diff --git a/src/platform/ps3/ps3input.cpp b/src/platform/ps3/ps3input.cpp index fff3fe86..53829a57 100644 --- a/src/platform/ps3/ps3input.cpp +++ b/src/platform/ps3/ps3input.cpp @@ -23,8 +23,6 @@ #include #include "ps3input.h" -using namespace std; - namespace lol { diff --git a/src/sample.cpp b/src/sample.cpp index 40c53b96..8b0a67b0 100644 --- a/src/sample.cpp +++ b/src/sample.cpp @@ -33,8 +33,6 @@ #include -using namespace std; - namespace lol { diff --git a/src/text.cpp b/src/text.cpp index 1fffa84e..117dae84 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -18,8 +18,6 @@ #include -using namespace std; - namespace lol { diff --git a/src/tileset.cpp b/src/tileset.cpp index 34e72a65..908ed623 100644 --- a/src/tileset.cpp +++ b/src/tileset.cpp @@ -28,8 +28,6 @@ #include -using namespace std; - namespace lol { diff --git a/src/video.cpp b/src/video.cpp index c213838a..7235ce0f 100755 --- a/src/video.cpp +++ b/src/video.cpp @@ -29,8 +29,6 @@ #include #include "lolgl.h" -using namespace std; - namespace lol { diff --git a/test/benchmark/half.cpp b/test/benchmark/half.cpp index 699a2c3e..6f6b360d 100644 --- a/test/benchmark/half.cpp +++ b/test/benchmark/half.cpp @@ -16,7 +16,6 @@ #include -using namespace std; using namespace lol; static size_t const HALF_TABLE_SIZE = 1024 * 1024; diff --git a/test/benchmark/real.cpp b/test/benchmark/real.cpp index d75927c3..8623796c 100644 --- a/test/benchmark/real.cpp +++ b/test/benchmark/real.cpp @@ -16,7 +16,6 @@ #include -using namespace std; using namespace lol; static size_t const REAL_TABLE_SIZE = 10000; diff --git a/test/benchmark/trig.cpp b/test/benchmark/trig.cpp index e9786e53..538f14bc 100644 --- a/test/benchmark/trig.cpp +++ b/test/benchmark/trig.cpp @@ -20,7 +20,6 @@ #include -using namespace std; using namespace lol; static size_t const TRIG_TABLE_SIZE = 128 * 1024; diff --git a/test/benchmark/vector.cpp b/test/benchmark/vector.cpp index 4582cadf..ac194073 100644 --- a/test/benchmark/vector.cpp +++ b/test/benchmark/vector.cpp @@ -16,7 +16,6 @@ #include -using namespace std; using namespace lol; static size_t const MATRIX_TABLE_SIZE = 64 * 1024; diff --git a/test/benchsuite.cpp b/test/benchsuite.cpp index 10ff5d21..48ffb8a8 100644 --- a/test/benchsuite.cpp +++ b/test/benchsuite.cpp @@ -16,7 +16,6 @@ #include -using namespace std; using namespace lol; void bench_real(int mode); diff --git a/test/math/poly.cpp b/test/math/poly.cpp index 6f92050a..38b9501f 100644 --- a/test/math/poly.cpp +++ b/test/math/poly.cpp @@ -17,7 +17,6 @@ #include using namespace lol; -using namespace std; mat4 multiply_copy(mat4 m1, mat4 m2, mat4 m3) { diff --git a/test/sandbox/sample.cpp b/test/sandbox/sample.cpp index b6925cbe..68d536a1 100644 --- a/test/sandbox/sample.cpp +++ b/test/sandbox/sample.cpp @@ -14,7 +14,6 @@ #include -using namespace std; using namespace lol; int main(int argc, char **argv)