summaryrefslogtreecommitdiff
path: root/src/buildtool/main/describe.cpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-03-09 17:16:48 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-03-10 15:44:05 +0100
commit050ff6bea9ce540e88dc12a6f448fbc048839cd7 (patch)
tree50823fec870ebd07c56cd9d0b30823b88a0d06cf /src/buildtool/main/describe.cpp
parentd1f6deaf99c95318f7ef3130775848cba6646095 (diff)
downloadjustbuild-050ff6bea9ce540e88dc12a6f448fbc048839cd7.tar.gz
Update nlohmann::json to 3.11.2
Diffstat (limited to 'src/buildtool/main/describe.cpp')
-rw-r--r--src/buildtool/main/describe.cpp2
1 files changed, 1 insertions, 1 deletions
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(), " | ");
}