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/textual.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/textual.cc') diff --git a/src/textual.cc b/src/textual.cc index 3dbae9a1..97a34268 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -1404,7 +1404,7 @@ xact_t * instance_t::parse_xact(char * line, { TRACE_START(xact_text, 1, "Time spent parsing transaction text:"); - std::auto_ptr xact(new xact_t); + unique_ptr xact(new xact_t); xact->pos = position_t(); xact->pos->pathname = pathname; -- cgit v1.2.3