From b6adc8f4605befc2e6a91dfa28cc9237fb391fbc Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 5 Mar 2012 17:46:42 -0600 Subject: Use unique_ptr instead of std::auto_ptr --- src/csv.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/csv.cc') diff --git a/src/csv.cc b/src/csv.cc index 305db992..1e55129e 100644 --- a/src/csv.cc +++ b/src/csv.cc @@ -139,8 +139,8 @@ xact_t * csv_reader::read_xact(bool rich_data) std::istringstream instr(line); - std::auto_ptr xact(new xact_t); - std::auto_ptr post(new post_t); + unique_ptr xact(new xact_t); + unique_ptr post(new post_t); xact->set_state(item_t::CLEARED); -- cgit v1.2.3