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 --- src/core/XML.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/core/XML.cpp') diff --git a/src/core/XML.cpp b/src/core/XML.cpp index 9b621a6..b8ee11d 100644 --- a/src/core/XML.cpp +++ b/src/core/XML.cpp @@ -19,7 +19,7 @@ #include #include -#include +#include #include "XML.hpp" @@ -118,15 +118,15 @@ void Text::doSerialize(std::ostream &out, unsigned int tabdepth, bool pretty) namespace RttiTypes { - const Rtti XMLNode = RttiBuilder("XMLNode"); - const Rtti XMLElement = - TypedRttiBuilder("XMLElement") + const RttiType XMLNode = RttiBuilder("XMLNode"); + const RttiType XMLElement = + RttiBuilder("XMLElement") .parent(&XMLNode) .composedOf(&XMLNode) .property("name", {RttiTypes::String, {[](const xml::Element *obj) { return Variant::fromString(obj->name); }}}); - const Rtti XMLText = RttiBuilder("XMLText").parent(&XMLNode); + const RttiType XMLText = RttiBuilder("XMLText").parent(&XMLNode); } } -- cgit v1.2.3