Skip to content
Snippets Groups Projects
Commit 6d1819ac authored by Adrien Béraud's avatar Adrien Béraud
Browse files

securedht: fix warning

parent d6ee44b6
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ SecureDht::~SecureDht() = default;
ValueType
SecureDht::secureType(ValueType&& type)
{
type.storePolicy = [this,type](InfoHash id, Sp<Value>& v, const InfoHash& nid, const SockAddr& a) {
type.storePolicy = [type](InfoHash id, Sp<Value>& v, const InfoHash& nid, const SockAddr& a) {
if (v->isSigned())
return v->checkSignature();
return type.storePolicy(id, v, nid, a);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment