Skip to content

Commit

Permalink
rgw/notifications: fix unused lambda capture warning
Browse files Browse the repository at this point in the history
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
  • Loading branch information
yuvalif committed May 1, 2024
1 parent f513b29 commit a7f3d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/driver/rados/rgw_notify.cc
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ class Manager : public DoutPrefixProvider {
// erase all queue that were deleted
{
std::lock_guard lock_guard(queue_gc_lock);
std::for_each(queue_gc.begin(), queue_gc.end(), [this, &owned_queues, &yield](const std::string& queue_name) {
std::for_each(queue_gc.begin(), queue_gc.end(), [this, &owned_queues](const std::string& queue_name) {
topics_persistency_tracker.erase(queue_name);
owned_queues.erase(queue_name);
ldpp_dout(this, 10) << "INFO: queue: " << queue_name << " was removed" << dendl;
Expand Down

0 comments on commit a7f3d15

Please sign in to comment.