aboutsummaryrefslogtreecommitdiffstats
path: root/al/eax_fx_slot_index.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-02-20 04:13:03 -0800
committerChris Robinson <[email protected]>2022-02-20 04:13:03 -0800
commit023ad6320be73d1cee3facad1722e94d7258f2bb (patch)
tree1bf32b6d4a3e26ac821c47935c5b36f01eeee601 /al/eax_fx_slot_index.cpp
parent0e26e0809d1aaa8501f310982b554565dc9e8beb (diff)
Inline a couple more equality operators
Diffstat (limited to 'al/eax_fx_slot_index.cpp')
-rw-r--r--al/eax_fx_slot_index.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/al/eax_fx_slot_index.cpp b/al/eax_fx_slot_index.cpp
index fe74097d..9aa695ad 100644
--- a/al/eax_fx_slot_index.cpp
+++ b/al/eax_fx_slot_index.cpp
@@ -69,22 +69,3 @@ void EaxFxSlotIndex::fail(const char* message)
{
throw EaxFxSlotIndexException{message};
}
-
-
-bool operator==(
- const EaxFxSlotIndex& lhs,
- const EaxFxSlotIndex& rhs) noexcept
-{
- if(lhs.has_value() != rhs.has_value())
- return false;
- if(lhs.has_value())
- return *lhs == *rhs;
- return true;
-}
-
-bool operator!=(
- const EaxFxSlotIndex& lhs,
- const EaxFxSlotIndex& rhs) noexcept
-{
- return !(lhs == rhs);
-}