mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Cleanup code using move semantics
This commit is contained in:
@@ -183,7 +183,7 @@ ValidatorList::load(
|
||||
// Config listed keys never expire
|
||||
if (it.second)
|
||||
it.first->second.expiration = TimeKeeper::time_point::max();
|
||||
it.first->second.list.emplace_back(std::move(*id));
|
||||
it.first->second.list.emplace_back(*id);
|
||||
it.first->second.available = true;
|
||||
++count;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user