summaryrefslogtreecommitdiff
path: root/src/timelog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/timelog.cc')
-rw-r--r--src/timelog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timelog.cc b/src/timelog.cc
index 67ea1015..b46d3922 100644
--- a/src/timelog.cc
+++ b/src/timelog.cc
@@ -88,7 +88,7 @@ namespace {
if (! out_event.note.empty() && event.note.empty())
event.note = out_event.note;
- std::auto_ptr<xact_t> curr(new xact_t);
+ unique_ptr<xact_t> curr(new xact_t);
curr->_date = event.checkin.date();
curr->code = out_event.desc; // if it wasn't used above
curr->payee = event.desc;