deprecated: fix deprecated warning
This commit is contained in:
parent
990855cded
commit
0d50c716b6
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user