summaryrefslogtreecommitdiff
path: root/test/core/common/ArgumentTest.cpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-18 18:22:14 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-18 18:22:14 +0100
commita30e627ffccf36384689295ce54af32e38ef5ef8 (patch)
treeffd03045f2f292da9d9f2d684d166093abaf7a21 /test/core/common/ArgumentTest.cpp
parent1ebaaf08c0bc7de704a3c2a423f572c54c4a069b (diff)
Droped Rtti<T> class, using RttiType instead
Diffstat (limited to 'test/core/common/ArgumentTest.cpp')
-rw-r--r--test/core/common/ArgumentTest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/core/common/ArgumentTest.cpp b/test/core/common/ArgumentTest.cpp
index e580986..d7d0d6a 100644
--- a/test/core/common/ArgumentTest.cpp
+++ b/test/core/common/ArgumentTest.cpp
@@ -23,7 +23,7 @@
#include <core/common/Argument.hpp>
#include <core/common/Function.hpp>
#include <core/common/Logger.hpp>
-#include <core/common/Rtti.hpp>
+#include <core/common/RttiBuilder.hpp>
#include <core/managed/Managed.hpp>
@@ -46,10 +46,10 @@ public:
}
namespace RttiTypes {
-static const Rtti<ousia::TestManaged1> TestManaged1 =
- RttiBuilder("TestManaged1");
-static const Rtti<ousia::TestManaged2> TestManaged2 =
- RttiBuilder("TestManaged2").parent(&TestManaged1);
+static const RttiType TestManaged1 =
+ RttiBuilder<ousia::TestManaged1>("TestManaged1");
+static const RttiType TestManaged2 =
+ RttiBuilder<ousia::TestManaged2>("TestManaged2").parent(&TestManaged1);
}
TEST(Argument, validateAny)