From b6adc8f4605befc2e6a91dfa28cc9237fb391fbc Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 5 Mar 2012 17:46:42 -0600 Subject: Use unique_ptr instead of std::auto_ptr --- src/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cc') 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; + unique_ptr global_scope; try { // Create the session object, which maintains nearly all state relating to -- cgit v1.2.3