diff --git a/fft/src/KokkosFFT_FFTW_Types.hpp b/fft/src/KokkosFFT_FFTW_Types.hpp index 7e739d66..9bf434d6 100644 --- a/fft/src/KokkosFFT_FFTW_Types.hpp +++ b/fft/src/KokkosFFT_FFTW_Types.hpp @@ -131,7 +131,7 @@ struct ScopedFFTWPlan { return global_id++; } - static void init_threads([[maybe_unused]] const ExecutionSpace &exec_space) { + void init_threads([[maybe_unused]] const ExecutionSpace &exec_space) { #if defined(KOKKOS_ENABLE_OPENMP) || defined(KOKKOS_ENABLE_THREADS) if constexpr (std::is_same_v) { @@ -148,7 +148,7 @@ struct ScopedFFTWPlan { #endif } - static void cleanup_threads() { + void cleanup_threads() { #if defined(KOKKOS_ENABLE_OPENMP) || defined(KOKKOS_ENABLE_THREADS) if constexpr (std::is_same_v) {