mirror of
https://github.com/azahar-emu/sirit.git
synced 2026-04-07 02:27:13 +02:00
Use some C++17 features
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
* Lesser General Public License version 2.1 or any later version.
|
||||
*/
|
||||
|
||||
#include <cassert>
|
||||
#include "operand.h"
|
||||
#include <cassert>
|
||||
|
||||
namespace Sirit {
|
||||
|
||||
@@ -22,16 +22,12 @@ u16 Operand::GetWordCount() const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool Operand::operator==(const Operand& other) const {
|
||||
return false;
|
||||
}
|
||||
bool Operand::operator==(const Operand& other) const { return false; }
|
||||
|
||||
bool Operand::operator!=(const Operand& other) const {
|
||||
return !(*this == other);
|
||||
}
|
||||
|
||||
OperandType Operand::GetType() const {
|
||||
return operand_type;
|
||||
}
|
||||
OperandType Operand::GetType() const { return operand_type; }
|
||||
|
||||
} // namespace Sirit
|
||||
|
||||
Reference in New Issue
Block a user