From 023ad6320be73d1cee3facad1722e94d7258f2bb Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 20 Feb 2022 04:13:03 -0800 Subject: Inline a couple more equality operators --- al/eax_fx_slot_index.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'al/eax_fx_slot_index.cpp') 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); -} -- cgit v1.2.3