mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
dhtrunner: fix minor warning
This commit is contained in:
1 parent
27b3c0d47e
commit
0d641161e8
1 file changed
+1
-1
+1
-1
@@ -225,7 +225,7 @@ DhtRunner::shutdown(ShutdownCallback cb) {
|
||||
dht_via_proxy_->shutdown(cb);
|
||||
#endif
|
||||
std::lock_guard<std::mutex> lck(storage_mtx);
|
||||
pending_ops_prio.emplace([=](SecureDht& dht) mutable {
|
||||
pending_ops_prio.emplace([=](SecureDht&) mutable {
|
||||
if (dht_)
|
||||
dht_->shutdown(cb);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user