From e0c757926743ee21f1a60b4b6948ca3eb895c373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 17 Dec 2017 13:31:25 +0100 Subject: Put qtmips_machine to machine namespace --- qtmips_machine/instruction.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'qtmips_machine/instruction.h') 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 #include +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 -- cgit v1.2.3