Make STPath::hasSeen const.

This commit is contained in:
David Schwartz
2013-08-21 10:17:45 -07:00
parent a2f90da10c
commit 6704a5190e
2 changed files with 2 additions and 2 deletions

View File

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

View File

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