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 --- test/core/common/RttiTest.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'test/core/common') 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 Type1("Type1"); const Rtti Type2("Type2"); const Rtti Type3("Type3", {&Type1}); const Rtti Type4("Type4", {&Type3, &Type2}); -const Rtti Type5("Type5", {}, {&Type6, &Type7}); -const Rtti Type6("Type6", {}, {&Type1}); -const Rtti Type7("Type7", {&Type6}, {}); +const Rtti Type5("Type5", + std::unordered_set{}, + {&Type6, &Type7}); +const Rtti Type6("Type6", + std::unordered_set{}, + {&Type1}); +const Rtti Type7("Type7", {&Type6}, + std::unordered_set{}); TEST(Rtti, isa) { -- cgit v1.2.3