summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-05 17:46:42 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-05 17:46:42 -0600
commitb6adc8f4605befc2e6a91dfa28cc9237fb391fbc (patch)
tree2b6858bca43af8dca6c4569e2c14d34e1396b9d4 /src/session.h
parent477a9106e3788b33863a7701466860eb5f9682e3 (diff)
downloadfork-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/session.h')
-rw-r--r--src/session.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session.h b/src/session.h
index 879efeb6..cfeced39 100644
--- a/src/session.h
+++ b/src/session.h
@@ -59,8 +59,8 @@ class session_t : public symbol_scope_t
public:
bool flush_on_next_data_file;
- std::auto_ptr<journal_t> journal;
- parse_context_stack_t parsing_context;
+ unique_ptr<journal_t> journal;
+ parse_context_stack_t parsing_context;
explicit session_t();
virtual ~session_t() {