remove {} from one line if
This commit is contained in:
parent
7554b4ca70
commit
0a83ee0c68
@ -672,9 +672,8 @@ public:
|
||||
|
||||
attr = sch.find("format");
|
||||
if (attr != sch.end()) {
|
||||
if (root_->format_check() == nullptr) {
|
||||
if (root_->format_check() == nullptr)
|
||||
throw std::invalid_argument{"a format checker was not provided but a format keyword for this string is present: " + format_.second};
|
||||
}
|
||||
|
||||
format_ = {true, attr.value()};
|
||||
sch.erase(attr);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user