diff options
author | Chris Robinson <[email protected]> | 2022-02-20 04:13:03 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-02-20 04:13:03 -0800 |
commit | 023ad6320be73d1cee3facad1722e94d7258f2bb (patch) | |
tree | 1bf32b6d4a3e26ac821c47935c5b36f01eeee601 /al/eax_fx_slot_index.cpp | |
parent | 0e26e0809d1aaa8501f310982b554565dc9e8beb (diff) |
Inline a couple more equality operators
Diffstat (limited to 'al/eax_fx_slot_index.cpp')
-rw-r--r-- | al/eax_fx_slot_index.cpp | 19 |
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); -} |