Convenience functions, cleanups, and avoid a copy.

This commit is contained in:
JoelKatz
2011-12-13 20:15:10 -08:00
parent d5bc38f93e
commit 854df9d920

View File

@@ -74,7 +74,7 @@ bool HashedObject::store() const
return store(mType, mLedgerIndex, mData, mHash);
}
HashedObject::pointer retrieve(const uint256& hash)
HashedObject::pointer HashedObject::retrieve(const uint256& hash)
{
std::string sql="SELECT * from CommitedObjects WHERE Hash='";
sql.append(hash.GetHex());