diff options
author | xiaoPierre <kangzipo@gmail.com> | 2018-01-11 19:45:35 +0300 |
---|---|---|
committer | xiaoPierre <kangzipo@gmail.com> | 2018-01-11 19:45:35 +0300 |
commit | b8c12c9ccd3602eb50696a4e0ac2249f98937059 (patch) | |
tree | e3977cb60aad4fdf7f5837422ba65ebb9573dbf4 /include/rapidjson/schema.h | |
parent | 6043ad86887c3c8730ffe3b88ed2ade9991fa064 (diff) |
Bug when switching to std regex
I could not switch to std regex after defining the two variables as in documents. Then I try to fix it in schema.h.
Diffstat (limited to 'include/rapidjson/schema.h')
-rw-r--r-- | include/rapidjson/schema.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rapidjson/schema.h b/include/rapidjson/schema.h index 2713fb26..74938717 100644 --- a/include/rapidjson/schema.h +++ b/include/rapidjson/schema.h @@ -25,7 +25,7 @@ #define RAPIDJSON_SCHEMA_USE_INTERNALREGEX 0 #endif -#if !RAPIDJSON_SCHEMA_USE_INTERNALREGEX && !defined(RAPIDJSON_SCHEMA_USE_STDREGEX) && (__cplusplus >=201103L || (defined(_MSC_VER) && _MSC_VER >= 1800)) +#if !RAPIDJSON_SCHEMA_USE_INTERNALREGEX && defined(RAPIDJSON_SCHEMA_USE_STDREGEX) && (__cplusplus >=201103L || (defined(_MSC_VER) && _MSC_VER >= 1800)) #define RAPIDJSON_SCHEMA_USE_STDREGEX 1 #else #define RAPIDJSON_SCHEMA_USE_STDREGEX 0 |