Change to make_shared.

This commit is contained in:
JoelKatz
2012-05-09 16:47:55 -07:00
parent 8c4d8d201f
commit ca27ef99a5

View File

@@ -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<Ledger>(rootAddress, 100000000);
assert(!!firstLedger->getAccountState(rootAddress));
firstLedger->updateHash();
firstLedger->setClosed();