summaryrefslogtreecommitdiff
path: root/src/core/XML.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/XML.cpp')
-rw-r--r--src/core/XML.cpp10
1 files changed, 5 insertions, 5 deletions
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 <sstream>
#include <core/common/Rtti.hpp>
-#include <core/common/TypedRttiBuilder.hpp>
+#include <core/common/RttiBuilder.hpp>
#include "XML.hpp"
@@ -118,15 +118,15 @@ void Text::doSerialize(std::ostream &out, unsigned int tabdepth, bool pretty)
namespace RttiTypes
{
- const Rtti<xml::Node> XMLNode = RttiBuilder("XMLNode");
- const Rtti<xml::Element> XMLElement =
- TypedRttiBuilder<xml::Element>("XMLElement")
+ const RttiType XMLNode = RttiBuilder<xml::Node>("XMLNode");
+ const RttiType XMLElement =
+ RttiBuilder<xml::Element>("XMLElement")
.parent(&XMLNode)
.composedOf(&XMLNode)
.property("name", {RttiTypes::String,
{[](const xml::Element *obj) {
return Variant::fromString(obj->name);
}}});
- const Rtti<xml::Text> XMLText = RttiBuilder("XMLText").parent(&XMLNode);
+ const RttiType XMLText = RttiBuilder<xml::Text>("XMLText").parent(&XMLNode);
}
}