Skip to content

Commit 11e83b6

Browse files
Fix -Wunused-lambda-capture warning
1 parent a2e0ce4 commit 11e83b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/icingadb/icingadb-objects.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,7 @@ void IcingaDB::UpdateDependenciesState(const Checkable::Ptr& checkable, const De
13751375
}
13761376

13771377
RedisConnection::Queries streamStates;
1378-
auto addDependencyStateToStream([this, &streamStates](const String& redisKey, const Dictionary::Ptr& stateAttrs) {
1378+
auto addDependencyStateToStream([&streamStates](const String& redisKey, const Dictionary::Ptr& stateAttrs) {
13791379
RedisConnection::Query xAdd{
13801380
"XADD", "icinga:runtime:state", "MAXLEN", "~", "1000000", "*", "runtime_type", "upsert",
13811381
"redis_key", redisKey

0 commit comments

Comments
 (0)