aboutsummaryrefslogtreecommitdiffstats
path: root/al/eax_fx_slots.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-02-14 00:20:45 -0800
committerChris Robinson <[email protected]>2022-02-14 00:20:45 -0800
commitc156e30a484eeaa341b42520904cef7b0eefc7c9 (patch)
treefdab94bf76578f23ef4af48151b8eb9945d45dac /al/eax_fx_slots.cpp
parentf915b86dbb8a3d75e37a2813df093694aae0dcbb (diff)
Derive EaxFxSlotIndex from an optional
Diffstat (limited to 'al/eax_fx_slots.cpp')
-rw-r--r--al/eax_fx_slots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/eax_fx_slots.cpp b/al/eax_fx_slots.cpp
index 61d5e168..284efd98 100644
--- a/al/eax_fx_slots.cpp
+++ b/al/eax_fx_slots.cpp
@@ -51,7 +51,7 @@ const ALeffectslot& EaxFxSlots::get(
fail("Empty index.");
}
- return *fx_slots_[index.get()];
+ return *fx_slots_[index.value()];
}
ALeffectslot& EaxFxSlots::get(