From 71a4d6db6f88cbb735cd959b3dd16d83a27474cf Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 29 Dec 2018 02:16:16 -0800 Subject: Return a unique_ptr for the backend --- OpenAL32/Include/alMain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/Include/alMain.h') 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 ContextList{nullptr}; std::mutex BackendLock; - BackendBase *Backend{nullptr}; + std::unique_ptr Backend; std::atomic next{nullptr}; -- cgit v1.2.3