From 67fb6282cee3679f054b95ac23a99fd3b4918a89 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 23 Jul 2013 13:08:41 -0700 Subject: [PATCH] Bugfix. --- modules/ripple_app/ledger/ripple_InboundLedgers.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/ripple_app/ledger/ripple_InboundLedgers.cpp b/modules/ripple_app/ledger/ripple_InboundLedgers.cpp index c38b10cb1..2d6a36a31 100644 --- a/modules/ripple_app/ledger/ripple_InboundLedgers.cpp +++ b/modules/ripple_app/ledger/ripple_InboundLedgers.cpp @@ -274,7 +274,6 @@ void InboundLedgers::clearFailures () Json::Value InboundLedgers::getInfo() { Json::Value ret(Json::objectValue); - boost::mutex::scoped_lock sl (mLock); typedef std::pair u256_acq_pair; std::vector acquires; @@ -282,7 +281,7 @@ Json::Value InboundLedgers::getInfo() boost::mutex::scoped_lock sl (mLock); acquires.reserve (mLedgers.size ()); - BOOST_FOREACH (const u256_acq_pair & it, mLedgers) + BOOST_FOREACH (const u256_acq_pair & it, mLedgers) acquires.push_back (it); }