mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Refactor Serializer, SerialIter, SHAMapItem, NodeObject:
* Make LessThan private * Make NodeObject::isSame private * Remove hotTRANSACTION * Remove some Serializer members * Remove unused SHAMapItem::getRaw * Remove unused STLedgerEntry::getOwners * Remove Serializer constructors * Remove unused Serializer members * Remove SerialIter ctor
This commit is contained in:
@@ -26,13 +26,13 @@ class SHAMap;
|
||||
|
||||
SHAMapItem::SHAMapItem (uint256 const& tag, Blob const& data)
|
||||
: mTag (tag)
|
||||
, mData (data)
|
||||
, mData (data.data(), data.size())
|
||||
{
|
||||
}
|
||||
|
||||
SHAMapItem::SHAMapItem (uint256 const& tag, const Serializer& data)
|
||||
: mTag (tag)
|
||||
, mData (data.peekData ())
|
||||
, mData (data.data(), data.size())
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user