diff --git a/src/dht_proxy_server.cpp b/src/dht_proxy_server.cpp index adf3ff57..4058db1b 100644 --- a/src/dht_proxy_server.cpp +++ b/src/dht_proxy_server.cpp @@ -636,7 +636,7 @@ DhtProxyServer::sendPushNotification(const std::string& token, Json::Value&& jso if (pushServer_.empty()) return; - httpClient_->async_connect([this, &token, json=std::move(json), isAndroid](std::shared_ptr conn) + httpClient_->async_connect([this, token, json=std::move(json), isAndroid](std::shared_ptr conn) { if (!conn){ logger_->e("[proxy:server] [notification] invalid connection");