mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Replace const Type& with Type const& for common types.
* std::string * RippleAccount * Account * Currency * uint256 * STAmount * Json::Value
This commit is contained in:
committed by
Vinnie Falco
parent
f5afe0587f
commit
648ccc7c17
@@ -38,7 +38,7 @@ NodeObject::Ptr NodeObject::createObject (
|
||||
NodeObjectType type,
|
||||
LedgerIndex ledgerIndex,
|
||||
Blob&& data,
|
||||
uint256 const & hash)
|
||||
uint256 const& hash)
|
||||
{
|
||||
return std::make_shared <NodeObject> (
|
||||
type, ledgerIndex, std::move (data), hash, PrivateAccess ());
|
||||
@@ -68,7 +68,7 @@ NodeObject::getData () const
|
||||
return mData;
|
||||
}
|
||||
|
||||
bool
|
||||
bool
|
||||
NodeObject::isCloneOf (NodeObject::Ptr const& other) const
|
||||
{
|
||||
if (mType != other->mType)
|
||||
|
||||
Reference in New Issue
Block a user