From ca27ef99a57bcec6b325b3a46722f0550a53189b Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Wed, 9 May 2012 16:47:55 -0700 Subject: [PATCH] Change to make_shared. --- src/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Application.cpp b/src/Application.cpp index af7a09fde..25ae9d5f9 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -118,7 +118,7 @@ void Application::run() rootAddress.setAccountPublic(rootFamilyGenerator, 0); std::cerr << "Root account: " << rootAddress.humanAccountID() << std::endl; - Ledger::pointer firstLedger(new Ledger(rootAddress, 100000000)); + Ledger::pointer firstLedger = boost::make_shared(rootAddress, 100000000); assert(!!firstLedger->getAccountState(rootAddress)); firstLedger->updateHash(); firstLedger->setClosed();