mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Tidy up usage of std::begin, std::end
This commit is contained in:
@@ -66,10 +66,8 @@ protected:
|
||||
void SetData (int version, base_uint<Bits, Tag> const& from)
|
||||
{
|
||||
nVersion = version;
|
||||
|
||||
vchData.resize (from.size ());
|
||||
|
||||
std::copy (std::begin (from), std::end(from), std::begin (vchData));
|
||||
std::copy (from.begin(), from.end(), vchData.begin());
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user