diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-09-16 05:44:07 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-09-16 05:44:07 +0200 |
commit | 3cf2553d6817bb47a95a8e29ef72db237ae9826b (patch) | |
tree | 413f3c4f4208864eaffedd8a73eb05e8de462a4f /src/Common/SystemBackend.h | |
parent | 74db15963fb9b2ddfc9d91ac5ce521425440bf8d (diff) | |
download | mad-3cf2553d6817bb47a95a8e29ef72db237ae9826b.tar mad-3cf2553d6817bb47a95a8e29ef72db237ae9826b.zip |
Benutze auto_ptr f?r Parameter von setBackend und setConfigManager
Diffstat (limited to 'src/Common/SystemBackend.h')
-rw-r--r-- | src/Common/SystemBackend.h | 4 |
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: |