From 3cf2553d6817bb47a95a8e29ef72db237ae9826b Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 16 Sep 2008 05:44:07 +0200 Subject: Benutze auto_ptr f?r Parameter von setBackend und setConfigManager --- src/Core/ConfigManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Core') diff --git a/src/Core/ConfigManager.h b/src/Core/ConfigManager.h index 760312a..e089358 100644 --- a/src/Core/ConfigManager.h +++ b/src/Core/ConfigManager.h @@ -49,7 +49,7 @@ class ConfigManager : public Common::ConfigManager { public: static void useConfigManager() { - setConfigManager(new ConfigManager()); + setConfigManager(std::auto_ptr(new ConfigManager())); } static ConfigManager *getConfigManager() { -- cgit v1.2.3