aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-22 07:54:29 -0800
committerChris Robinson <[email protected]>2018-11-22 07:54:29 -0800
commit9c155a57fb37e3869f16e2f6502ee7d95d7d6a75 (patch)
tree268be0a8db18d013476b6e19dd6d60969a2b1e6c /OpenAL32
parentba8c865513d33019962a02e00ab496365de17abf (diff)
Use unique_ptr for DirectHrtfState
Diffstat (limited to 'OpenAL32')
-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 3a8e28fc..744e3609 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -666,7 +666,7 @@ struct ALCdevice_struct {
POSTPROCESS PostProcess{};
/* HRTF state and info */
- DirectHrtfState *mHrtfState{nullptr};
+ std::unique_ptr<DirectHrtfState> mHrtfState;
std::string HrtfName;
Hrtf *HrtfHandle{nullptr};
al::vector<EnumeratedHrtf> HrtfList;