IcingaDB::UpdateAllConfigObjects: explicitly capture variables in lambda

This commit is contained in:
Julian Brost 2021-06-15 10:48:32 +02:00
parent d1e15a220c
commit b8218a3c0e
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ void IcingaDB::UpdateAllConfigObjects()
std::map<String, String> redisCheckSums; std::map<String, String> redisCheckSums;
String configCheckSum = m_PrefixConfigCheckSum + lcType; String configCheckSum = m_PrefixConfigCheckSum + lcType;
upqObjectType.Enqueue([&]() { upqObjectType.Enqueue([&rcon, &configCheckSum, &redisCheckSums]() {
String cursor = "0"; String cursor = "0";
do { do {