From e69db842802c362d4e1672b1457875ba08eb3f0f Mon Sep 17 00:00:00 2001 From: akarin Date: Fri, 14 Jan 2022 11:17:17 +0900 Subject: [PATCH] FFT3DFilter.h: fix warning -Wrange-loop-analysis Signed-off-by: akarin --- FFT3DFilter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FFT3DFilter.h b/FFT3DFilter.h index 3c2dc5c..e0e409e 100644 --- a/FFT3DFilter.h +++ b/FFT3DFilter.h @@ -69,7 +69,7 @@ class ThreadLocalPtrPool { T* get() noexcept; ~ThreadLocalPtrPool() noexcept { - for (const auto [_, ptr] : pool) { + for (const auto &[_, ptr] : pool) { Deleter(ptr); } }