Replace const Type& with Type const& for common types.

* std::string
* RippleAccount
* Account
* Currency
* uint256
* STAmount
* Json::Value
This commit is contained in:
Tom Ritchford
2014-08-03 19:17:56 -04:00
committed by Vinnie Falco
parent f5afe0587f
commit 648ccc7c17
143 changed files with 748 additions and 754 deletions

View File

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