Fix compiler warning

This commit is contained in:
Stan Gerald Moore
2022-01-31 09:47:07 -07:00
parent 5142d8e968
commit 5d28d06a3c

View File

@ -61,13 +61,12 @@ struct s_CounterType
}
KOKKOS_INLINE_FUNCTION
volatile s_CounterType& operator+=(const volatile s_CounterType &rhs) volatile
void operator+=(const volatile s_CounterType &rhs) volatile
{
nSteps += rhs.nSteps;
nIters += rhs.nIters;
nFuncs += rhs.nFuncs;
nFails += rhs.nFails;
return *this;
}
};
typedef struct s_CounterType CounterType;