Skip to content

Commit b8c12c9

Browse files
committed
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.
1 parent 6043ad8 commit b8c12c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/rapidjson/schema.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#define RAPIDJSON_SCHEMA_USE_INTERNALREGEX 0
2626
#endif
2727

28-
#if !RAPIDJSON_SCHEMA_USE_INTERNALREGEX && !defined(RAPIDJSON_SCHEMA_USE_STDREGEX) && (__cplusplus >=201103L || (defined(_MSC_VER) && _MSC_VER >= 1800))
28+
#if !RAPIDJSON_SCHEMA_USE_INTERNALREGEX && defined(RAPIDJSON_SCHEMA_USE_STDREGEX) && (__cplusplus >=201103L || (defined(_MSC_VER) && _MSC_VER >= 1800))
2929
#define RAPIDJSON_SCHEMA_USE_STDREGEX 1
3030
#else
3131
#define RAPIDJSON_SCHEMA_USE_STDREGEX 0

0 commit comments

Comments
 (0)