From 24d1ab31307f665b016253cca37a79288ab19662 Mon Sep 17 00:00:00 2001
From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz>
Date: Mon, 5 Nov 2018 09:46:13 +0100
Subject: [PATCH] simplify predeclaration of api classes

---
 alib2raw/src/core/rawApi.hpp    | 4 ++--
 alib2str/src/core/stringApi.hpp | 4 ++--
 alib2xml/src/core/xmlApi.hpp    | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/alib2raw/src/core/rawApi.hpp b/alib2raw/src/core/rawApi.hpp
index 8bdf106025..f4572ff6c5 100644
--- a/alib2raw/src/core/rawApi.hpp
+++ b/alib2raw/src/core/rawApi.hpp
@@ -10,8 +10,8 @@
 
 namespace core {
 
-template < typename T, typename Enable = void >
-struct rawApi { };
+template < typename T >
+struct rawApi;
 
 } /* namespace core */
 
diff --git a/alib2str/src/core/stringApi.hpp b/alib2str/src/core/stringApi.hpp
index e3a74a949c..759cba8f14 100644
--- a/alib2str/src/core/stringApi.hpp
+++ b/alib2str/src/core/stringApi.hpp
@@ -24,8 +24,8 @@
 
 namespace core {
 
-template < typename T, typename Enable = void >
-struct stringApi { };
+template < typename T >
+struct stringApi;
 
 template < >
 struct stringApi < object::Object > {
diff --git a/alib2xml/src/core/xmlApi.hpp b/alib2xml/src/core/xmlApi.hpp
index 31a34e3294..af6104cca6 100644
--- a/alib2xml/src/core/xmlApi.hpp
+++ b/alib2xml/src/core/xmlApi.hpp
@@ -26,8 +26,8 @@
 
 namespace core {
 
-template < typename T, typename Enable = void >
-struct xmlApi { };
+template < typename T >
+struct xmlApi;
 
 class xmlApiInputContext : public ext::deque < sax::Token >::iterator {
 	ext::map < int, object::Object > idToInstanceContexts;
-- 
GitLab