Tidy up usage of std::begin, std::end

This commit is contained in:
Vinnie Falco
2014-12-19 08:35:26 -08:00
parent 28b70a7b9a
commit e3fbb83ad0
5 changed files with 22 additions and 16 deletions

View File

@@ -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: