use copy not move

pull/1038/head
Jeff Becker 4 years ago
parent c5feb07fb9
commit 4cb6301e28
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -18,8 +18,9 @@ namespace llarp
{
}
GotRouterMessage(const Key_t& from, uint64_t id,
std::vector< RouterContact > results, bool tunneled)
: IMessage(from), R(std::move(results)), txid(id), relayed(tunneled)
const std::vector< RouterContact >& results,
bool tunneled)
: IMessage(from), R(results), txid(id), relayed(tunneled)
{
}

Loading…
Cancel
Save