summaryrefslogtreecommitdiffstats
path: root/src/Core
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-09-16 05:44:07 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-09-16 05:44:07 +0200
commit3cf2553d6817bb47a95a8e29ef72db237ae9826b (patch)
tree413f3c4f4208864eaffedd8a73eb05e8de462a4f /src/Core
parent74db15963fb9b2ddfc9d91ac5ce521425440bf8d (diff)
downloadmad-3cf2553d6817bb47a95a8e29ef72db237ae9826b.tar
mad-3cf2553d6817bb47a95a8e29ef72db237ae9826b.zip
Benutze auto_ptr f?r Parameter von setBackend und setConfigManager
Diffstat (limited to 'src/Core')
-rw-r--r--src/Core/ConfigManager.h2
1 files changed, 1 insertions, 1 deletions
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<Common::ConfigManager>(new ConfigManager()));
}
static ConfigManager *getConfigManager() {