aboutsummaryrefslogtreecommitdiffstats
path: root/al/eax/fx_slot_index.h
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 /al/eax/fx_slot_index.h
parent40483b512218bab50fccaaeb11b51e5ca528fbe1 (diff)
Replace al::optional with std::optional
Diffstat (limited to 'al/eax/fx_slot_index.h')
-rw-r--r--al/eax/fx_slot_index.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/al/eax/fx_slot_index.h b/al/eax/fx_slot_index.h
index 63dba037..9f350d9b 100644
--- a/al/eax/fx_slot_index.h
+++ b/al/eax/fx_slot_index.h
@@ -3,17 +3,16 @@
#include <cstddef>
+#include <optional>
-#include "aloptional.h"
#include "api.h"
using EaxFxSlotIndexValue = std::size_t;
-class EaxFxSlotIndex : public al::optional<EaxFxSlotIndexValue>
-{
+class EaxFxSlotIndex : public std::optional<EaxFxSlotIndexValue> {
public:
- using al::optional<EaxFxSlotIndexValue>::optional;
+ using std::optional<EaxFxSlotIndexValue>::optional;
EaxFxSlotIndex& operator=(const EaxFxSlotIndexValue &value) { set(value); return *this; }
EaxFxSlotIndex& operator=(const GUID &guid) { set(guid); return *this; }