From c5748a315408f95955901a19c7036f08a5f938fc Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 6 Mar 2022 13:46:00 +0000 Subject: [PATCH] Reorder Logger() constructor args Currently the order varies across the struct and constructor. As a nice reminder GCC will throw a lovely warning at us. Fix the ordering. Signed-off-by: Emil Velikov --- src/logging.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/logging.cpp b/src/logging.cpp index fa244a4a..78512837 100644 --- a/src/logging.cpp +++ b/src/logging.cpp @@ -150,9 +150,9 @@ void logging(){ } Logger::Logger(overlay_params* in_params) - : m_logging_on(false), - m_values_valid(false), - m_params(in_params) + : m_params(in_params), + m_logging_on(false), + m_values_valid(false) { m_log_end = Clock::now() - 15s; SPDLOG_DEBUG("Logger constructed!");