diff --git a/include/rapidjson/schema.h b/include/rapidjson/schema.h index 4156146..1851f5e 100644 --- a/include/rapidjson/schema.h +++ b/include/rapidjson/schema.h @@ -616,7 +616,7 @@ public: private: #if RAPIDJSON_SCHEMA_USE_STDREGEX - typedef std::basic_regex* RegexType; + typedef std::basic_regex RegexType; #else typedef char RegexType; #endif