diff --git a/triqs/h5/base.hpp b/triqs/h5/base.hpp index c66268f4..48d90f25 100644 --- a/triqs/h5/base.hpp +++ b/triqs/h5/base.hpp @@ -84,14 +84,14 @@ namespace h5 { //------------- compute void * pointer to the data ---------------------------------- // 2 cases : complex or not. Complex are reinterpreted according to doc, as N+1 dim double array template - std::enable_if_t::value, std14::conditional_t::value, const void *, void *>> + std14::enable_if_t::value, std14::conditional_t::value, const void *, void *>> get_data_ptr(S *p) { using T = std14::conditional_t::value, const typename S::value_type, typename S::value_type>; return reinterpret_cast(p); } template - std::enable_if_t::value, std14::conditional_t::value, const void *, void *>> + std14::enable_if_t::value, std14::conditional_t::value, const void *, void *>> get_data_ptr(S *p) { return p; }