summaryrefslogtreecommitdiff
path: root/src/format.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/format.cc')
-rw-r--r--src/format.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format.cc b/src/format.cc
index 9824d5f7..d8c03e6a 100644
--- a/src/format.cc
+++ b/src/format.cc
@@ -125,7 +125,7 @@ namespace {
format_t::element_t * format_t::parse_elements(const string& fmt,
const optional<format_t&>& tmpl)
{
- std::auto_ptr<element_t> result;
+ unique_ptr<element_t> result;
element_t * current = NULL;