mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Replace std::vector<unsigned char> with Blob
This commit is contained in:
@@ -39,7 +39,7 @@ public:
|
||||
*/
|
||||
HashedObject (HashedObjectType type,
|
||||
uint32 ledgerIndex,
|
||||
std::vector <unsigned char> const& binaryDataToCopy,
|
||||
Blob const& binaryDataToCopy,
|
||||
uint256 const& hash)
|
||||
: mType (type)
|
||||
, mHash (hash)
|
||||
@@ -89,7 +89,7 @@ public:
|
||||
|
||||
/** Retrieve the binary data.
|
||||
*/
|
||||
std::vector <unsigned char> const& getData() const
|
||||
Blob const& getData() const
|
||||
{
|
||||
return mData;
|
||||
}
|
||||
@@ -98,7 +98,7 @@ private:
|
||||
HashedObjectType const mType;
|
||||
uint256 const mHash;
|
||||
uint32 const mLedgerIndex;
|
||||
std::vector <unsigned char> const mData;
|
||||
Blob const mData;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user