From a30e627ffccf36384689295ce54af32e38ef5ef8 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sun, 18 Jan 2015 18:22:14 +0100 Subject: Droped Rtti class, using RttiType instead --- test/core/managed/ManagedTest.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'test/core/managed/ManagedTest.cpp') diff --git a/test/core/managed/ManagedTest.cpp b/test/core/managed/ManagedTest.cpp index 0391738..b5a6e64 100644 --- a/test/core/managed/ManagedTest.cpp +++ b/test/core/managed/ManagedTest.cpp @@ -19,6 +19,7 @@ #include #include +#include #include #include "TestManaged.hpp" @@ -76,11 +77,11 @@ class TypeTestManaged5 : public Managed { using Managed::Managed; }; -static const Rtti Type1 = RttiBuilder{"Type1"}; -static const Rtti Type2 = RttiBuilder{"Type2"}; -static const Rtti Type3 = RttiBuilder{"Type3"}.parent(&Type1); -static const Rtti Type4 = - RttiBuilder{"Type4"}.parent({&Type3, &Type2}); +static const RttiType Type1 = RttiBuilder("Type1"); +static const RttiType Type2 = RttiBuilder("Type2"); +static const RttiType Type3 = RttiBuilder("Type3").parent(&Type1); +static const RttiType Type4 = + RttiBuilder("Type4").parent({&Type3, &Type2}); TEST(Managed, type) { -- cgit v1.2.3