diff options
author | Chris Robinson <[email protected]> | 2023-05-04 08:03:40 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-05-04 08:03:40 -0700 |
commit | 7cda37a67c8f147536c53f0073df9a9e61d40587 (patch) | |
tree | 68a0997c94ec905dd3438f26418234bf63aa76f4 /alc/panning.cpp | |
parent | 40483b512218bab50fccaaeb11b51e5ca528fbe1 (diff) |
Replace al::optional with std::optional
Diffstat (limited to 'alc/panning.cpp')
-rw-r--r-- | alc/panning.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/panning.cpp b/alc/panning.cpp index d118f99c..a3d639fc 100644 --- a/alc/panning.cpp +++ b/alc/panning.cpp @@ -32,6 +32,7 @@ #include <memory> #include <new> #include <numeric> +#include <optional> #include <string> #include "AL/al.h" @@ -45,7 +46,6 @@ #include "almalloc.h" #include "alnumbers.h" #include "alnumeric.h" -#include "aloptional.h" #include "alspan.h" #include "alstring.h" #include "alu.h" @@ -933,7 +933,7 @@ void InitUhjPanning(ALCdevice *device) } // namespace -void aluInitRenderer(ALCdevice *device, int hrtf_id, al::optional<StereoEncoding> stereomode) +void aluInitRenderer(ALCdevice *device, int hrtf_id, std::optional<StereoEncoding> stereomode) { /* Hold the HRTF the device last used, in case it's used again. */ HrtfStorePtr old_hrtf{std::move(device->mHrtf)}; |