aboutsummaryrefslogtreecommitdiffstats
path: root/core/hrtf.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-05-04 08:03:40 -0700
committerChris Robinson <[email protected]>2023-05-04 08:03:40 -0700
commit7cda37a67c8f147536c53f0073df9a9e61d40587 (patch)
tree68a0997c94ec905dd3438f26418234bf63aa76f4 /core/hrtf.cpp
parent40483b512218bab50fccaaeb11b51e5ca528fbe1 (diff)
Replace al::optional with std::optional
Diffstat (limited to 'core/hrtf.cpp')
-rw-r--r--core/hrtf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/hrtf.cpp b/core/hrtf.cpp
index cdafe93c..c54d96d1 100644
--- a/core/hrtf.cpp
+++ b/core/hrtf.cpp
@@ -16,6 +16,7 @@
#include <memory>
#include <mutex>
#include <numeric>
+#include <optional>
#include <type_traits>
#include <utility>
@@ -25,7 +26,6 @@
#include "almalloc.h"
#include "alnumbers.h"
#include "alnumeric.h"
-#include "aloptional.h"
#include "alspan.h"
#include "ambidefs.h"
#include "filters/splitter.h"
@@ -1221,7 +1221,7 @@ al::span<const char> GetResource(int name)
} // namespace
-al::vector<std::string> EnumerateHrtf(al::optional<std::string> pathopt)
+al::vector<std::string> EnumerateHrtf(std::optional<std::string> pathopt)
{
std::lock_guard<std::mutex> _{EnumeratedHrtfLock};
EnumeratedHrtfs.clear();