diff --git a/lib/icingadb/icingadb-objects.cpp b/lib/icingadb/icingadb-objects.cpp index ac5669595..97cef51ab 100644 --- a/lib/icingadb/icingadb-objects.cpp +++ b/lib/icingadb/icingadb-objects.cpp @@ -192,7 +192,7 @@ void IcingaDB::UpdateAllConfigObjects() std::map redisCheckSums; String configCheckSum = m_PrefixConfigCheckSum + lcType; - upqObjectType.Enqueue([&]() { + upqObjectType.Enqueue([&rcon, &configCheckSum, &redisCheckSums]() { String cursor = "0"; do {