diff options
author | Chris Robinson <[email protected]> | 2018-12-29 02:16:16 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-29 02:16:16 -0800 |
commit | 71a4d6db6f88cbb735cd959b3dd16d83a27474cf (patch) | |
tree | 4aff47e22dc5c8486c7229e23848edb34cc11ada /OpenAL32/Include/alMain.h | |
parent | 3c637d5fd70e7bdb5dfc79c515359cba3eb0c9af (diff) |
Return a unique_ptr for the backend
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 2 |
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}; |