aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/instruction.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/instruction.h')
-rw-r--r--qtmips_machine/instruction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_machine/instruction.h b/qtmips_machine/instruction.h
index 921d9b0..aa53973 100644
--- a/qtmips_machine/instruction.h
+++ b/qtmips_machine/instruction.h
@@ -26,7 +26,8 @@ public:
std::uint32_t address() const;
std::uint32_t data() const;
- bool operator ==(const Instruction &c) const;
+ bool operator==(const Instruction &c) const;
+ bool operator!=(const Instruction &c) const;
private:
std::uint32_t dt;