don't std::move

This commit is contained in:
Jeff 2019-05-11 08:48:54 -04:00
parent 06f8bb2f42
commit e21f1020ee

View File

@ -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());