From 9c155a57fb37e3869f16e2f6502ee7d95d7d6a75 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 22 Nov 2018 07:54:29 -0800 Subject: Use unique_ptr for DirectHrtfState --- OpenAL32/Include/alMain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32') 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 mHrtfState; std::string HrtfName; Hrtf *HrtfHandle{nullptr}; al::vector HrtfList; -- cgit v1.2.3