From c89e5c5ada36a528410ad9bb44d27012da85fa96 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Mon, 5 Jan 2015 00:15:49 +0100 Subject: Fixed compilation with gcc 4.9 --- src/core/common/Rtti.hpp | 1 + src/core/model/Domain.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/common/Rtti.hpp b/src/core/common/Rtti.hpp index deaf128..ab937f5 100644 --- a/src/core/common/Rtti.hpp +++ b/src/core/common/Rtti.hpp @@ -251,6 +251,7 @@ inline const RttiBase &typeOf(const T &obj) } namespace RttiTypes { + /** * Type of no particular type. */ diff --git a/src/core/model/Domain.cpp b/src/core/model/Domain.cpp index e9c2687..41f2b76 100644 --- a/src/core/model/Domain.cpp +++ b/src/core/model/Domain.cpp @@ -89,7 +89,7 @@ const Rtti StructuredClass{ const Rtti AnnotationClass{"AnnotationClass", {&Descriptor}}; const Rtti Domain{ - "Domain", {}, {&StructuredClass, &AnnotationClass}}; + "Domain", std::unordered_set{}, {&StructuredClass, &AnnotationClass}}; } } -- cgit v1.2.3