summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/assign-namespace.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/assign-namespace.h')
-rw-r--r--tests/auto/tools/moc/assign-namespace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/assign-namespace.h b/tests/auto/tools/moc/assign-namespace.h
index 8f5ecc23e7..7377b38f6b 100644
--- a/tests/auto/tools/moc/assign-namespace.h
+++ b/tests/auto/tools/moc/assign-namespace.h
@@ -39,6 +39,9 @@
**
****************************************************************************/
+#ifndef ASSIGN_NAMESPACE_H
+#define ASSIGN_NAMESPACE_H
+
namespace A
{
namespace Nested
@@ -50,3 +53,4 @@ namespace A
namespace Mine = Qt;
namespace Theirs = A::Nested::Space;
+#endif // ASSIGN_NAMESPACE_H