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:
@@ -18,6 +18,7 @@
|
||||
//==============================================================================
|
||||
|
||||
#include <ripple/crypto/Base58Data.h>
|
||||
#include <algorithm>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
@@ -42,7 +43,7 @@ CBase58Data::CBase58Data ()
|
||||
CBase58Data::~CBase58Data ()
|
||||
{
|
||||
// Ensures that any potentially sensitive data is cleared from memory
|
||||
std::fill (std::begin (vchData), std::end(vchData), 0);
|
||||
std::fill (vchData.begin(), vchData.end(), 0);
|
||||
}
|
||||
|
||||
bool CBase58Data::SetString (
|
||||
|
||||
Reference in New Issue
Block a user