mirror of https://github.com/Icinga/icinga2.git
IcingaDB::UpdateAllConfigObjects: explicitly capture variables in lambda
This commit is contained in:
parent
d1e15a220c
commit
b8218a3c0e
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue