From 78468f41d5e8f339fe257313c567e07c52e18cdc Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 5 Jun 2020 11:52:06 -0400 Subject: [PATCH] make definition consistent and silence a whole bunch of warnings from recent clang versions --- src/KOKKOS/pair_kokkos.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/KOKKOS/pair_kokkos.h b/src/KOKKOS/pair_kokkos.h index c28c858113..2934ddf621 100644 --- a/src/KOKKOS/pair_kokkos.h +++ b/src/KOKKOS/pair_kokkos.h @@ -51,7 +51,8 @@ struct DoCoul<1> { //Specialisation for Neighborlist types Half, HalfThread, Full template -struct PairComputeFunctor { +class PairComputeFunctor { + public: typedef typename PairStyle::device_type device_type ; typedef ArrayTypes AT;