From ee505261c13b5901a1bd63b2df781bd8f4eb5a49 Mon Sep 17 00:00:00 2001 From: miloyip Date: Wed, 15 Apr 2015 18:34:18 +0800 Subject: [PATCH] Try to use another namespace for SIMD version --- test/unittest/simdtest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/unittest/simdtest.cpp b/test/unittest/simdtest.cpp index 42fb10f..ebbbead 100644 --- a/test/unittest/simdtest.cpp +++ b/test/unittest/simdtest.cpp @@ -29,11 +29,13 @@ # define RAPIDJSON_SSE2 #endif +#define RAPIDJSON_NAMESPACE rapidjson_simd + #include "unittest.h" #include "rapidjson/reader.h" -using namespace rapidjson; +using namespace rapidjson_simd; #ifdef RAPIDJSON_SSE2 #define SIMD_SUFFIX(name) name##_SSE2