deprecated: fix deprecated warning

This commit is contained in:
Patrick Boettcher 2018-01-19 09:48:09 +01:00
parent 990855cded
commit 0d50c716b6

View File

@ -76,7 +76,7 @@ static void loader(const json_uri &uri, json &schema)
throw std::invalid_argument("could not open " + uri.url() + " for schema loading\n");
try {
schema << s;
s >> schema;
} catch (std::exception &e) {
throw e;
}