From f1df9a02fa56b3da056556d0b808ab21507f2e90 Mon Sep 17 00:00:00 2001 From: Nik Bougalis Date: Wed, 25 Feb 2015 20:39:53 -0800 Subject: [PATCH] Fix declaration/implementation mismatches --- src/ripple/app/ledger/LedgerHistory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ripple/app/ledger/LedgerHistory.cpp b/src/ripple/app/ledger/LedgerHistory.cpp index ae943ff47..1f59414b8 100644 --- a/src/ripple/app/ledger/LedgerHistory.cpp +++ b/src/ripple/app/ledger/LedgerHistory.cpp @@ -62,7 +62,7 @@ bool LedgerHistory::addLedger (Ledger::pointer ledger, bool validated) return alreadyHad; } -uint256 LedgerHistory::getLedgerHash (std::uint32_t index) +LedgerHash LedgerHistory::getLedgerHash (LedgerIndex index) { LedgersByHash::ScopedLockType sl (m_ledgers_by_hash.peekMutex ()); std::map::iterator it (mLedgersByIndex.find (index)); @@ -73,7 +73,7 @@ uint256 LedgerHistory::getLedgerHash (std::uint32_t index) return uint256 (); } -Ledger::pointer LedgerHistory::getLedgerBySeq (std::uint32_t index) +Ledger::pointer LedgerHistory::getLedgerBySeq (LedgerIndex index) { { LedgersByHash::ScopedLockType sl (m_ledgers_by_hash.peekMutex ()); @@ -105,7 +105,7 @@ Ledger::pointer LedgerHistory::getLedgerBySeq (std::uint32_t index) } } -Ledger::pointer LedgerHistory::getLedgerByHash (uint256 const& hash) +Ledger::pointer LedgerHistory::getLedgerByHash (LedgerHash const& hash) { Ledger::pointer ret = m_ledgers_by_hash.fetch (hash);