mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-01 16:35:53 +00:00
Make STPath::hasSeen const.
This commit is contained in:
@@ -466,7 +466,7 @@ bool STPathSet::isEquivalent (const SerializedType& t) const
|
|||||||
return v && (value == v->value);
|
return v && (value == v->value);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool STPath::hasSeen (const uint160& uAccountId, const uint160& uCurrencyID, const uint160& uIssuerID)
|
bool STPath::hasSeen (const uint160& uAccountId, const uint160& uCurrencyID, const uint160& uIssuerID) const
|
||||||
{
|
{
|
||||||
for (int i = 0; i < mPath.size (); ++i)
|
for (int i = 0; i < mPath.size (); ++i)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1241,7 +1241,7 @@ public:
|
|||||||
{
|
{
|
||||||
mPath.clear ();
|
mPath.clear ();
|
||||||
}
|
}
|
||||||
bool hasSeen (const uint160& uAccountId, const uint160& uCurrencyID, const uint160& uIssuerID);
|
bool hasSeen (const uint160& uAccountId, const uint160& uCurrencyID, const uint160& uIssuerID) const;
|
||||||
// std::string getText() const;
|
// std::string getText() const;
|
||||||
Json::Value getJson (int) const;
|
Json::Value getJson (int) const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user