summaryrefslogtreecommitdiffstats
path: root/src/Common/Backends
diff options
context:
space:
mode:
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;