From fca5683d3137521568825418425d929923017865 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Thu, 28 Feb 2013 22:52:01 -0800 Subject: [PATCH] Trivial const fix. --- src/cpp/ripple/SerializedLedger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/ripple/SerializedLedger.cpp b/src/cpp/ripple/SerializedLedger.cpp index 8f07ec715..b4285dd87 100644 --- a/src/cpp/ripple/SerializedLedger.cpp +++ b/src/cpp/ripple/SerializedLedger.cpp @@ -51,7 +51,7 @@ SerializedLedgerEntry::SerializedLedgerEntry(LedgerEntryType type, const uint256 SerializedLedgerEntry::pointer SerializedLedgerEntry::getMutable() const { - SerializedLedgerEntry::pointer ret = boost::make_shared(boost::ref(*this)); + SerializedLedgerEntry::pointer ret = boost::make_shared(boost::cref(*this)); ret->mMutable = true; return ret; }