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/registers.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'qtmips_machine/registers.h') diff --git a/qtmips_machine/registers.h b/qtmips_machine/registers.h index 4a693db..fa3e304 100644 --- a/qtmips_machine/registers.h +++ b/qtmips_machine/registers.h @@ -4,6 +4,8 @@ #include #include +namespace machine { + class Registers : public QObject { Q_OBJECT public: @@ -35,6 +37,8 @@ private: std::uint32_t pc; // program counter }; -Q_DECLARE_METATYPE(Registers) +} + +Q_DECLARE_METATYPE(machine::Registers) #endif // REGISTERS_H -- cgit v1.2.3