From e21f1020ee721c8ed4246dd6a60e9688e13d5bbb Mon Sep 17 00:00:00 2001 From: Jeff Date: Sat, 11 May 2019 08:48:54 -0400 Subject: [PATCH] don't std::move --- llarp/service/endpoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llarp/service/endpoint.cpp b/llarp/service/endpoint.cpp index 71683485a..906f6e5f6 100644 --- a/llarp/service/endpoint.cpp +++ b/llarp/service/endpoint.cpp @@ -73,7 +73,7 @@ namespace llarp LogError(Name(), " invalid snode value: ", v); return false; } - const auto result = m_SnodeBlacklist.insert(std::move(snode)); + const auto result = m_SnodeBlacklist.insert(snode); if(!result.second) { LogError(Name(), " duplicate blacklist-snode: ", snode.ToString());