aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alcontext.h')
-rw-r--r--Alc/alcontext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alcontext.h b/Alc/alcontext.h
index f174f324..424f1447 100644
--- a/Alc/alcontext.h
+++ b/Alc/alcontext.h
@@ -47,7 +47,7 @@ struct SourceSubList {
/* Effect slots are rather large, and apps aren't likely to have more than one
* or two (let alone 64), so hold them individually.
*/
-using ALeffectslotPtr = struct ALeffectslot*;
+using ALeffectslotPtr = std::unique_ptr<ALeffectslot>;
struct ALCcontext_struct {
RefCount ref{1u};