diff options
Diffstat (limited to 'qtmips_machine/instruction.h')
-rw-r--r-- | qtmips_machine/instruction.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qtmips_machine/instruction.h b/qtmips_machine/instruction.h index 0a87826..fc8dbf5 100644 --- a/qtmips_machine/instruction.h +++ b/qtmips_machine/instruction.h @@ -4,6 +4,8 @@ #include <QObject> #include <qstring.h> +namespace machine { + class Instruction : public QObject { Q_OBJECT public: @@ -34,6 +36,8 @@ private: std::uint32_t dt; }; -Q_DECLARE_METATYPE(Instruction) +} + +Q_DECLARE_METATYPE(machine::Instruction) #endif // INSTRUCTION_H |