aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcontext.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-20 10:01:20 -0800
committerChris Robinson <[email protected]>2018-11-20 10:01:20 -0800
commit1e31ac469e129ccd5cde5fb890b31fa8b6815a9b (patch)
tree7f5dec8b7e58ad404b02e1935c01fe21ccfcb04d /Alc/alcontext.h
parent29558c091b55e54770869deb13483fa0b8e35e12 (diff)
Store effect slots as unique_ptrs
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};