From 174305e1289458976aed9bcb1f47d684c264d108 Mon Sep 17 00:00:00 2001 From: Pietro Incardona <i-bird@localhost.localdomain> Date: Tue, 6 Sep 2016 11:56:35 +0200 Subject: [PATCH] Fixing clang compilation --- src/Decomposition/common.hpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Decomposition/common.hpp b/src/Decomposition/common.hpp index c2bdf6b9d..81d958dde 100755 --- a/src/Decomposition/common.hpp +++ b/src/Decomposition/common.hpp @@ -100,12 +100,6 @@ struct Box_sub_k { cmb.zero(); } - - // encap interface to make compatible with OpenFPM_IO - template <int i> auto get() -> decltype( std::declval<Box<dim,T> *>()->template get<i>()) - { - return ::Box<dim,T>::template get<i>(); - } }; //! Case for local ghost box -- GitLab