From 5011753f4fafad0586161de7686ad1d8c3cc3774 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Thu, 30 Apr 2020 10:23:48 -0400 Subject: [PATCH] Clean up warning --- Grid/lattice/Lattice_peekpoke.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Grid/lattice/Lattice_peekpoke.h b/Grid/lattice/Lattice_peekpoke.h index feca2f44..8f649bd7 100644 --- a/Grid/lattice/Lattice_peekpoke.h +++ b/Grid/lattice/Lattice_peekpoke.h @@ -156,7 +156,7 @@ void peekSite(sobj &s,const Lattice &l,const Coordinate &site){ // Peek a scalar object from the SIMD array ////////////////////////////////////////////////////////// template -accelerator_inline void peekLocalSite(sobj &s,const Lattice &l,Coordinate &site){ +inline void peekLocalSite(sobj &s,const Lattice &l,Coordinate &site){ GridBase *grid = l.Grid(); @@ -185,7 +185,7 @@ accelerator_inline void peekLocalSite(sobj &s,const Lattice &l,Coordinate }; template -accelerator_inline void pokeLocalSite(const sobj &s,Lattice &l,Coordinate &site){ +inline void pokeLocalSite(const sobj &s,Lattice &l,Coordinate &site){ GridBase *grid=l.Grid();