summaryrefslogtreecommitdiffstats
path: root/src/Common/SystemBackend.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/SystemBackend.h')
-rw-r--r--src/Common/SystemBackend.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/SystemBackend.h b/src/Common/SystemBackend.h
index 19b0715..8942ff0 100644
--- a/src/Common/SystemBackend.h
+++ b/src/Common/SystemBackend.h
@@ -33,8 +33,8 @@ class SystemBackend {
protected:
SystemBackend() {}
- static void setBackend(SystemBackend *backend0) {
- backend = std::auto_ptr<SystemBackend>(backend0);
+ static void setBackend(std::auto_ptr<SystemBackend> backend0) {
+ backend = backend0;
}
public: