From 3fce8acb8822d1850bcd5e508418ecf86e6a2cf1 Mon Sep 17 00:00:00 2001 From: blaz-r Date: Mon, 13 Sep 2021 08:59:30 +0200 Subject: [PATCH] Reordered variables in class to fix -Werror=reorder --- src/arduinoFFT.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arduinoFFT.h b/src/arduinoFFT.h index 819d48c..483a739 100644 --- a/src/arduinoFFT.h +++ b/src/arduinoFFT.h @@ -435,13 +435,13 @@ private: #endif /* Variables */ - uint_fast16_t _samples = 0; #ifdef FFT_SPEED_OVER_PRECISION T _oneOverSamples = 0.0; #endif - T _samplingFrequency = 0; T *_vReal = nullptr; T *_vImag = nullptr; + uint_fast16_t _samples = 0; + T _samplingFrequency = 0; T *_windowWeighingFactors = nullptr; FFTWindow _weighingFactorsFFTWindow; bool _weighingFactorsWithCompensation = false;