summaryrefslogtreecommitdiff
path: root/tests/auto/tools/moc/using-namespaces.h
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@digia.com>2014-01-17 13:49:41 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-20 17:08:24 +0100
commit71d265f5921fed35f51b5f169870c4ef51dde8a7 (patch)
treebfb3d1a801c1a59671ba4ae99de5c69a0fd8d144 /tests/auto/tools/moc/using-namespaces.h
parent4dfc27728eeac3a56a31042b45c29e41c83af0d6 (diff)
downloadqtbase-71d265f5921fed35f51b5f169870c4ef51dde8a7.tar.gz
Add missing header guards
Change-Id: I515313289c0a4af0f675131760ad4ccd0c6e6149 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/tools/moc/using-namespaces.h')
-rw-r--r--tests/auto/tools/moc/using-namespaces.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/using-namespaces.h b/tests/auto/tools/moc/using-namespaces.h
index c662bb762a..64ffa96a21 100644
--- a/tests/auto/tools/moc/using-namespaces.h
+++ b/tests/auto/tools/moc/using-namespaces.h
@@ -39,6 +39,9 @@
**
****************************************************************************/
+#ifndef USING_NAMESPACES_H
+#define USING_NAMESPACES_H
+
namespace Foo {}
namespace Bar
{
@@ -54,3 +57,4 @@ using namespace Foo;
using namespace Bar::Huh;
using namespace ::Top;
+#endif // USING_NAMESPACES_H