diff options
author | Zoltan Kovago <zoltan.kovago@tresorit.com> | 2018-04-06 18:38:52 +0200 |
---|---|---|
committer | Zoltan Kovago <zoltan.kovago@tresorit.com> | 2018-04-09 15:47:17 +0200 |
commit | 0fdd8040ce4eec4522e62a955de00cf8a9a4f66b (patch) | |
tree | 0fe8151d8813d50043f753b761ae1ed9cccff786 /test/unittest/istreamwrappertest.cpp | |
parent | 8022a5f79c7490e2a9dd5934ac9c77b6d5555a6d (diff) | |
download | rapidjson-0fdd8040ce4eec4522e62a955de00cf8a9a4f66b.tar.gz |
fix compilation on windows with clang
Diffstat (limited to 'test/unittest/istreamwrappertest.cpp')
-rw-r--r-- | test/unittest/istreamwrappertest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unittest/istreamwrappertest.cpp b/test/unittest/istreamwrappertest.cpp index 9d6fbcf..94480cd 100644 --- a/test/unittest/istreamwrappertest.cpp +++ b/test/unittest/istreamwrappertest.cpp @@ -20,7 +20,7 @@ #include <sstream> #include <fstream> -#ifdef _MSC_VER +#if defined(_MSC_VER) && !defined(__clang__) RAPIDJSON_DIAG_PUSH RAPIDJSON_DIAG_OFF(4702) // unreachable code #endif @@ -176,6 +176,6 @@ TEST(IStreamWrapper, wfstream) { #endif -#ifdef _MSC_VER +#if defined(_MSC_VER) && !defined(__clang__) RAPIDJSON_DIAG_POP #endif |