summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc
index aafbdbcb..dd03206f 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -80,7 +80,7 @@ int main(int argc, char * argv[], char * envp[])
::textdomain("ledger");
#endif
- std::auto_ptr<global_scope_t> global_scope;
+ unique_ptr<global_scope_t> global_scope;
try {
// Create the session object, which maintains nearly all state relating to