Skip to content
Snippets Groups Projects
Commit 5b78973f authored by Jan Trávníček's avatar Jan Trávníček
Browse files

decrease dependency requirements of xmlApi

parent 3c870a93
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -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 );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment