cxx: Remove libeolian_cxx dependency on eo_cxx

Summary: Fixes T7324

Reviewers: felipealmeida, bu5hm4n, zmike

Reviewed By: felipealmeida, bu5hm4n, zmike

Subscribers: segfaultxavi, cedric, #reviewers, #committers, zmike

Tags: #efl

Maniphest Tasks: T7324

Differential Revision: https://phab.enlightenment.org/D6881
This commit is contained in:
Lauro Moura 2018-08-21 14:21:43 -04:00 committed by Mike Blumenkrantz
parent c4124f8b36
commit f1fddf5c74
3 changed files with 7 additions and 10 deletions

View File

@ -9,7 +9,11 @@ namespace efl { namespace eo {
struct concrete;
template <typename T>
struct is_eolian_object;
struct is_eolian_object : std::false_type {};
template <typename T>
struct is_eolian_object<T const> : is_eolian_object<T> {};
template <>
struct is_eolian_object<eo::concrete> : std::true_type {};
} }

View File

@ -10,6 +10,8 @@
#include <cstddef>
#include <eina_optional.hh>
#include <eina_eo_concrete_fwd.hh>
#include "eo_ops.hh"
#ifndef EFL_CXX_THROW
@ -254,13 +256,6 @@ T downcast(U object)
}
}
template <typename T>
struct is_eolian_object : std::false_type {};
template <typename T>
struct is_eolian_object<T const> : is_eolian_object<T> {};
template <>
struct is_eolian_object<eo::concrete> : std::true_type {};
/// @}
} } // namespace efl { namespace eo {

View File

@ -13,8 +13,6 @@
#include <Eina.hh>
#include "eo_concrete.hh"
#include <vector>
#include <memory>
#include <set>