summaryrefslogtreecommitdiff
path: root/src/pool.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-02-04 22:39:41 -0500
committerJohn Wiegley <johnw@newartisans.com>2011-02-04 22:39:41 -0500
commit2208ac1226bb3be82be550d465f08fc1dd7c1bae (patch)
tree35ac78b7e439263c24a14c1fe214fd5db61745f9 /src/pool.cc
parente0c42ff44352b414e8a6ea3ba735afea98db6d18 (diff)
downloadfork-ledger-2208ac1226bb3be82be550d465f08fc1dd7c1bae.tar.gz
fork-ledger-2208ac1226bb3be82be550d465f08fc1dd7c1bae.tar.bz2
fork-ledger-2208ac1226bb3be82be550d465f08fc1dd7c1bae.zip
Fixes for compilation as C++0x code
Diffstat (limited to 'src/pool.cc')
-rw-r--r--src/pool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pool.cc b/src/pool.cc
index 20b585dd..aa56efff 100644
--- a/src/pool.cc
+++ b/src/pool.cc
@@ -176,7 +176,7 @@ commodity_pool_t::create(commodity_t& comm,
assert(details);
assert(! mapping_key.empty());
- std::auto_ptr<commodity_t> commodity
+ unique_ptr<commodity_t> commodity
(new annotated_commodity_t(&comm, details));
comm.add_flags(COMMODITY_SAW_ANNOTATED);