diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-05 17:46:42 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-05 17:46:42 -0600 |
commit | b6adc8f4605befc2e6a91dfa28cc9237fb391fbc (patch) | |
tree | 2b6858bca43af8dca6c4569e2c14d34e1396b9d4 /src/timelog.cc | |
parent | 477a9106e3788b33863a7701466860eb5f9682e3 (diff) | |
download | fork-ledger-b6adc8f4605befc2e6a91dfa28cc9237fb391fbc.tar.gz fork-ledger-b6adc8f4605befc2e6a91dfa28cc9237fb391fbc.tar.bz2 fork-ledger-b6adc8f4605befc2e6a91dfa28cc9237fb391fbc.zip |
Use unique_ptr instead of std::auto_ptr
Diffstat (limited to 'src/timelog.cc')
-rw-r--r-- | src/timelog.cc | 2 |
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; |