aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r--OpenAL32/Include/alMain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 391ef8df..e23eb1fb 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -786,7 +786,7 @@ struct ALCdevice_struct {
std::atomic<ALCcontext*> ContextList{nullptr};
std::mutex BackendLock;
- BackendBase *Backend{nullptr};
+ std::unique_ptr<BackendBase> Backend;
std::atomic<ALCdevice*> next{nullptr};