diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-07-28 21:02:26 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-07-28 21:02:26 +0100 |
commit | ee4d187fc688933df377718fd828ecfd101358fc (patch) | |
tree | 48d9614518ff9b7156fa5289f7e9f17e7942c143 | |
parent | Disable hicpp-named-parameter check (diff) | |
download | libjsonpp-ee4d187fc688933df377718fd828ecfd101358fc.tar.bz2 libjsonpp-ee4d187fc688933df377718fd828ecfd101358fc.tar.xz libjsonpp-ee4d187fc688933df377718fd828ecfd101358fc.zip |
Modern ignore return value
-rw-r--r-- | libjsonpp/testParse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } } |