summaryrefslogtreecommitdiff
path: root/test/core/common
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 /test/core/common
parenta3ef034a2b746a5b0c8bd36e32f4f848890162c4 (diff)
Fixed compilation with gcc 4.9
Diffstat (limited to 'test/core/common')
-rw-r--r--test/core/common/RttiTest.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/test/core/common/RttiTest.cpp b/test/core/common/RttiTest.cpp
index e875efa..1154fb5 100644
--- a/test/core/common/RttiTest.cpp
+++ b/test/core/common/RttiTest.cpp
@@ -49,9 +49,14 @@ const Rtti<RttiTestClass1> Type1("Type1");
const Rtti<RttiTestClass2> Type2("Type2");
const Rtti<RttiTestClass3> Type3("Type3", {&Type1});
const Rtti<RttiTestClass4> Type4("Type4", {&Type3, &Type2});
-const Rtti<RttiTestClass5> Type5("Type5", {}, {&Type6, &Type7});
-const Rtti<RttiTestClass6> Type6("Type6", {}, {&Type1});
-const Rtti<RttiTestClass7> Type7("Type7", {&Type6}, {});
+const Rtti<RttiTestClass5> Type5("Type5",
+ std::unordered_set<const RttiBase *>{},
+ {&Type6, &Type7});
+const Rtti<RttiTestClass6> Type6("Type6",
+ std::unordered_set<const RttiBase *>{},
+ {&Type1});
+const Rtti<RttiTestClass7> Type7("Type7", {&Type6},
+ std::unordered_set<const RttiBase *>{});
TEST(Rtti, isa)
{