summaryrefslogtreecommitdiffstats
path: root/src/core/resources/qresourcemanager_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/resources/qresourcemanager_p.h')
-rw-r--r--src/core/resources/qresourcemanager_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/resources/qresourcemanager_p.h b/src/core/resources/qresourcemanager_p.h
index 5afc3607e..2126f1624 100644
--- a/src/core/resources/qresourcemanager_p.h
+++ b/src/core/resources/qresourcemanager_p.h
@@ -116,6 +116,7 @@ enum
};
#define Q_DECLARE_RESOURCE_INFO(TYPE, FLAGS) \
+ namespace Qt3D { \
template<> \
struct QResourceInfo<TYPE > \
{ \
@@ -123,7 +124,8 @@ enum
{ \
needsCleanup = ((FLAGS & Q_REQUIRES_CLEANUP) == 0) \
}; \
-}
+}; \
+} // namespace Qt3D
template <int v>
struct Int2Type