summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2019-10-04 15:17:48 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2019-10-07 21:20:10 +0200
commit83459e95f0fdcf2b9f2f553c5d1449d2ab86b329 (patch)
treebb2c108b5329357f11bbc58e4b56676665a6de23
parent096ea169993bd161aeb93c7acd8dbe41c5c27b29 (diff)
Add missing include guard to namespace.h
The missing include guard will break the CMake build that uses mocs_compilation.cpp file that indirectly includes namespace.h twice. Change-Id: I403db6d33fca14adf71ca941cd2e0aee6e4d44d1 Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
-rw-r--r--tests/auto/proxy_multiprocess/namespace.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/proxy_multiprocess/namespace.h b/tests/auto/proxy_multiprocess/namespace.h
index 2d06e67..1b9b59e 100644
--- a/tests/auto/proxy_multiprocess/namespace.h
+++ b/tests/auto/proxy_multiprocess/namespace.h
@@ -1,3 +1,6 @@
+#ifndef __PROXY_MULTIPROCESS_NAMESPACE_H__
+#define __PROXY_MULTIPROCESS_NAMESPACE_H__
+
#include <QMetaType>
namespace NS
@@ -13,3 +16,5 @@ namespace NS2
enum class NamespaceEnum : quint8 { Alpha=1, Bravo, Charlie };
Q_ENUM_NS(NamespaceEnum)
}
+
+#endif // include guard