Make function static

This commit is contained in:
Stan Gerald Moore
2021-07-13 12:17:24 -06:00
parent 871ef80f83
commit 3895ae194d

View File

@ -45,7 +45,7 @@ enum{FULL=1u,HALFTHREAD=2u,HALF=4u};
static constexpr LAMMPS_NS::bigint LMP_KOKKOS_AV_DELTA = 10;
namespace Kokkos {
auto NoInit = [](std::string const& label) {
static auto NoInit = [](std::string const& label) {
return Kokkos::view_alloc(Kokkos::WithoutInitializing, label);
};
}