aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/WrapRocFFT.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2023-05-04 19:30:53 +0200
committerGravatar GitHub <noreply@github.com> 2023-05-04 10:30:53 -0700
commit162f263e72bc2b8c48411283ea39a01128271df3 (patch)
tree883be09b282e1b513b75c2816553ff94fde6688c /Source/FieldSolver/SpectralSolver/WrapRocFFT.cpp
parent734fd70a3ae3b303b3854b92584a0e243be57df9 (diff)
downloadWarpX-162f263e72bc2b8c48411283ea39a01128271df3.tar.gz
WarpX-162f263e72bc2b8c48411283ea39a01128271df3.tar.zst
WarpX-162f263e72bc2b8c48411283ea39a01128271df3.zip
Replace 3 occurrencess of NULL with std::nullptr (#3893)
* replace NULL with std::nullptr everywhere * fix bug
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/WrapRocFFT.cpp')
-rw-r--r--Source/FieldSolver/SpectralSolver/WrapRocFFT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/FieldSolver/SpectralSolver/WrapRocFFT.cpp b/Source/FieldSolver/SpectralSolver/WrapRocFFT.cpp
index 0d8246c09..5f3131dec 100644
--- a/Source/FieldSolver/SpectralSolver/WrapRocFFT.cpp
+++ b/Source/FieldSolver/SpectralSolver/WrapRocFFT.cpp
@@ -65,7 +65,7 @@ namespace AnyFFT
void Execute (FFTplan& fft_plan)
{
- rocfft_execution_info execinfo = NULL;
+ rocfft_execution_info execinfo = nullptr;
rocfft_status result = rocfft_execution_info_create(&execinfo);
assert_rocfft_status("rocfft_execution_info_create", result);