Skip to content

Commit 7d7c574

Browse files
committed
fix typo
1 parent 59bd96a commit 7d7c574

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/FFT/AMReX_FFT_Poisson.H

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ void PoissonOpenBC<MF>::solve (MF& soln, MF const& rhs)
354354
namespace fft_poisson_detail {
355355
template <typename T>
356356
struct Tri_Zero {
357-
static constexpr T operator() (int, int, int)
357+
[[nodiscard]] constexpr T operator() (int, int, int) const
358358
{
359359
return 0;
360360
}
@@ -749,8 +749,8 @@ void PoissonHybrid<MF>::solve_z (FA& spmf, TRIA const& tria, TRIC const& tric)
749749
});
750750
#endif
751751
}
752-
#endif
753752
}
753+
#endif
754754
}
755755

756756
namespace detail {

0 commit comments

Comments
 (0)