summaryrefslogtreecommitdiffstats
path: root/src/Common/Backends
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/Common/Backends
parent74db15963fb9b2ddfc9d91ac5ce521425440bf8d (diff)
downloadmad-3cf2553d6817bb47a95a8e29ef72db237ae9826b.tar
mad-3cf2553d6817bb47a95a8e29ef72db237ae9826b.zip
Benutze auto_ptr f?r Parameter von setBackend und setConfigManager
Diffstat (limited to 'src/Common/Backends')
-rw-r--r--src/Common/Backends/SystemBackendProc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Backends/SystemBackendProc.h b/src/Common/Backends/SystemBackendProc.h
index cdcc3e7..2a85b86 100644
--- a/src/Common/Backends/SystemBackendProc.h
+++ b/src/Common/Backends/SystemBackendProc.h
@@ -32,7 +32,7 @@ class SystemBackendProc : public SystemBackend {
public:
static void useBackend() {
- setBackend(new SystemBackendProc());
+ setBackend(std::auto_ptr<SystemBackend>(new SystemBackendProc()));
}
virtual UptimeInfo getUptimeInfo() const;