From 5b78973f22bd28afb566ffef844221820a2f9dc1 Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Sun, 13 Aug 2017 22:27:34 +0200 Subject: [PATCH] decrease dependency requirements of xmlApi --- alib2common/src/core/xmlApi.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alib2common/src/core/xmlApi.hpp b/alib2common/src/core/xmlApi.hpp index 2f9471d0fe..3d9f026f58 100644 --- a/alib2common/src/core/xmlApi.hpp +++ b/alib2common/src/core/xmlApi.hpp @@ -17,7 +17,7 @@ #include "sax/Token.h" #include "sax/FromXMLParserHelper.h" -#include "object/ObjectBase.h" +#include "base/CommonBase.hpp" #include "base/WrapperBase.hpp" #include "exception/CommonException.h" @@ -81,7 +81,7 @@ template < typename T, typename Enable = void > struct xmlApi { }; template < typename Type > -struct xmlApi < Type, typename std::enable_if < std::is_base_of < ObjectBase, Type >::value >::type > { +struct xmlApi < Type, typename std::enable_if < std::is_base_of < CommonBaseBase, Type >::value >::type > { static Type parse ( ext::deque < sax::Token >::iterator & input ) { return Type::parse ( input ); } -- GitLab