mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +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);
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
|
||||
@@ -1241,7 +1241,7 @@ public:
|
||||
{
|
||||
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;
|
||||
Json::Value getJson (int) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user