From 6bacb101bc8059b470a6db2bf2bdd4245af7bd50 Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Mon, 23 Jun 2014 13:58:47 +0200 Subject: [PATCH] Fix #93 - Forgot to test on gcc 4.8 ... --- triqs/h5/base.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }