summaryrefslogtreecommitdiff
path: root/src/pool.cc
diff options
context:
space:
mode:
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);