We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38d3c3e commit ab1d887Copy full SHA for ab1d887
lib/icingadb/icingadb-objects.cpp
@@ -402,7 +402,7 @@ void IcingaDB::UpdateAllConfigObjects()
402
upqObjectType.Enqueue([&]() {
403
for (auto& hMSet : source.second) {
404
for (decltype(hMSet.size()) i = 0, stop = hMSet.size() - 1u; i < stop; i += 2u) {
405
- auto variantToString = [](std::variant<const char*, String> v) {
+ auto variantToString = [](std::variant<const char*, String> v) -> String {
406
if (auto str (std::get_if<String>(&v)); str) {
407
return std::move(*str);
408
}
0 commit comments