From ac1d5b10b2c96d0e9d6a09aebad1665fa09e6baf Mon Sep 17 00:00:00 2001 From: gibber9809 Date: Thu, 9 May 2024 18:39:06 +0000 Subject: [PATCH] Minor style change --- components/core/src/clp_s/search/Output.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/core/src/clp_s/search/Output.cpp b/components/core/src/clp_s/search/Output.cpp index e76d44a4a..637cae1bd 100644 --- a/components/core/src/clp_s/search/Output.cpp +++ b/components/core/src/clp_s/search/Output.cpp @@ -147,9 +147,9 @@ void Output::init( = dynamic_cast(column_reader); DateStringColumnReader* date_reader = dynamic_cast(column_reader); - if (clp_reader != nullptr && clp_reader->get_type() == NodeType::ClpString) { + if (nullptr != clp_reader && clp_reader->get_type() == NodeType::ClpString) { m_clp_string_readers[column_id].push_back(clp_reader); - } else if (var_reader != nullptr && var_reader->get_type() == NodeType::VarString) { + } else if (nullptr != var_reader && var_reader->get_type() == NodeType::VarString) { m_var_string_readers[column_id].push_back(var_reader); } else if (nullptr != date_reader) { // Datestring readers with a given column ID are guaranteed not to repeat