summaryrefslogtreecommitdiffstats
path: root/src/Common/ConfigManager.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-10-27 22:41:06 +0100
committerMatthias Schiffer <matthias@gamezock.de>2008-10-27 22:41:06 +0100
commit2b83ae7c71dc706fb4fd7b4efc4a8ffee8dfe522 (patch)
tree4f63c64041fd93255105493fd444a65ad0761b9b /src/Common/ConfigManager.h
parentb58831e5eec4d0595099b8e9c2979b157fe37041 (diff)
downloadmad-2b83ae7c71dc706fb4fd7b4efc4a8ffee8dfe522.tar
mad-2b83ae7c71dc706fb4fd7b4efc4a8ffee8dfe522.zip
Neues Initialisierung-Framework hinzugef?gt
Diffstat (limited to 'src/Common/ConfigManager.h')
-rw-r--r--src/Common/ConfigManager.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Common/ConfigManager.h b/src/Common/ConfigManager.h
index bf34f6f..b4264d5 100644
--- a/src/Common/ConfigManager.h
+++ b/src/Common/ConfigManager.h
@@ -20,6 +20,7 @@
#ifndef MAD_COMMON_CONFIGMANAGER_H_
#define MAD_COMMON_CONFIGMANAGER_H_
+#include <memory>
#include <set>
#include <string>
@@ -38,7 +39,6 @@ class ConfigManager {
static ConfigManager configManager;
std::set<Configurable*, Compare> configurables;
-
bool finished;
ConfigManager() : finished(false) {}
@@ -57,8 +57,6 @@ class ConfigManager {
configurables.erase(c);
}
- virtual ~ConfigManager() {}
-
static ConfigManager *getConfigManager() {
return &configManager;
}