Skip to content

Commit

Permalink
json-validator.cpp(594): error C2593: 'operator =' is ambiguous.
Browse files Browse the repository at this point in the history
  • Loading branch information
aholzinger committed Mar 21, 2020
1 parent d290f1f commit e76dc74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Development/third_party/nlohmann/json-validator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -591,8 +591,8 @@ class string : public schema
#ifndef NO_STD_REGEX
attr = sch.find("pattern");
if (attr != sch.end()) {
patternString_ = attr.value();
pattern_ = {true, REGEX_NAMESPACE::regex(attr.value().get<std::string>(),
patternString_ = attr.value().get<std::string>();
pattern_ = {true, REGEX_NAMESPACE::regex(patternString_,
REGEX_NAMESPACE::regex::ECMAScript)};
sch.erase(attr);
}
Expand Down

0 comments on commit e76dc74

Please sign in to comment.