From 0d50c716b61c5a37a53f9ffb328249aefe9c4c7e Mon Sep 17 00:00:00 2001 From: Patrick Boettcher Date: Fri, 19 Jan 2018 09:48:09 +0100 Subject: [PATCH] deprecated: fix deprecated warning --- app/json-schema-test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/json-schema-test.cpp b/app/json-schema-test.cpp index 8eaab9a..9059471 100644 --- a/app/json-schema-test.cpp +++ b/app/json-schema-test.cpp @@ -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; }