summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-07-28 21:02:26 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2022-07-28 21:02:26 +0100
commitee4d187fc688933df377718fd828ecfd101358fc (patch)
tree48d9614518ff9b7156fa5289f7e9f17e7942c143
parentDisable hicpp-named-parameter check (diff)
downloadlibjsonpp-ee4d187fc688933df377718fd828ecfd101358fc.tar.bz2
libjsonpp-ee4d187fc688933df377718fd828ecfd101358fc.tar.xz
libjsonpp-ee4d187fc688933df377718fd828ecfd101358fc.zip
Modern ignore return value
-rw-r--r--libjsonpp/testParse.cpp2
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");
}
}