From 2208ac1226bb3be82be550d465f08fc1dd7c1bae Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 4 Feb 2011 22:39:41 -0500 Subject: Fixes for compilation as C++0x code --- src/pool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pool.cc') 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 + unique_ptr commodity (new annotated_commodity_t(&comm, details)); comm.add_flags(COMMODITY_SAW_ANNOTATED); -- cgit v1.2.3