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
devs/herdsman/text/efl_ui_text
Lauro Moura 5 years ago committed by Mike Blumenkrantz
parent c4124f8b36
commit f1fddf5c74
  1. 6
      src/bindings/cxx/eina_cxx/eina_eo_concrete_fwd.hh
  2. 9
      src/bindings/cxx/eo_cxx/eo_concrete.hh
  3. 2
      src/lib/eolian_cxx/grammar/klass_def.hpp

@ -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 {};
} }

@ -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 {

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

Loading…
Cancel
Save