From ee4d187fc688933df377718fd828ecfd101358fc Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 28 Jul 2022 21:02:26 +0100 Subject: Modern ignore return value --- libjsonpp/testParse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libjsonpp/testParse.cpp b/libjsonpp/testParse.cpp index 70e3abb..a93c88e 100644 --- a/libjsonpp/testParse.cpp +++ b/libjsonpp/testParse.cpp @@ -251,7 +251,7 @@ BOOST_AUTO_TEST_CASE(parse_sample_complexFile2_bulk, *boost::unit_test::disabled { for (int x = 0; x < 100; x++) { std::ifstream inFile((root / "initial" / "sample2.json").string()); - json::Value obj = json::parseValue(inFile, "utf-8"); + std::ignore = json::parseValue(inFile, "utf-8"); } } -- cgit v1.2.3