summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-05 00:15:49 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-05 00:15:49 +0100
commitc89e5c5ada36a528410ad9bb44d27012da85fa96 (patch)
tree0f0085a6bb3eb941ee562e55ff81b19fd00bad67 /src
parenta3ef034a2b746a5b0c8bd36e32f4f848890162c4 (diff)
Fixed compilation with gcc 4.9
Diffstat (limited to 'src')
-rw-r--r--src/core/common/Rtti.hpp1
-rw-r--r--src/core/model/Domain.cpp2
2 files changed, 2 insertions, 1 deletions
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<model::StructuredClass> StructuredClass{
const Rtti<model::AnnotationClass> AnnotationClass{"AnnotationClass",
{&Descriptor}};
const Rtti<model::Domain> Domain{
- "Domain", {}, {&StructuredClass, &AnnotationClass}};
+ "Domain", std::unordered_set<const RttiBase*>{}, {&StructuredClass, &AnnotationClass}};
}
}