Fix indentation (TAB instead of spaces)

This commit is contained in:
Gert Van Hoey 2017-08-07 13:20:25 +02:00
parent a23f87ee35
commit 0b21596e46
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ int main(int argc, char *argv[])
json document; json document;
try { try {
std::cin >> document; std::cin >> document;
validator.validate(document); validator.validate(document);
} catch (std::exception &e) { } catch (std::exception &e) {
std::cerr << "schema validation failed\n"; std::cerr << "schema validation failed\n";

View File

@ -344,7 +344,7 @@ void json_validator::validate(const json &instance, const json &schema_, const s
try { try {
validate(instance, attr.value(), name); validate(instance, attr.value(), name);
ok = false; ok = false;
} catch (std::exception &) { } catch (std::exception &) {
ok = true; ok = true;
} }
if (!ok) if (!ok)