From 050ff6bea9ce540e88dc12a6f448fbc048839cd7 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 9 Mar 2023 17:16:48 +0100 Subject: Update nlohmann::json to 3.11.2 --- src/buildtool/main/describe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/main/describe.cpp') diff --git a/src/buildtool/main/describe.cpp b/src/buildtool/main/describe.cpp index 7f0c8969..292ea7b9 100644 --- a/src/buildtool/main/describe.cpp +++ b/src/buildtool/main/describe.cpp @@ -101,7 +101,7 @@ void PrettyPrintRule(nlohmann::json const& rdesc) { auto provides_doc = rdesc.find("provides_doc"); if (provides_doc != rdesc.end()) { std::cout << " - Documented providers\n"; - for (auto& el : provides_doc->items()) { + for (auto const& el : provides_doc->items()) { std::cout << " - " << el.key() << "\n"; PrintDoc(el.value(), " | "); } -- cgit v1.2.3