Skip to content

Commit

Permalink
Minor style change
Browse files Browse the repository at this point in the history
  • Loading branch information
gibber9809 committed May 9, 2024
1 parent dd66174 commit ac1d5b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/core/src/clp_s/search/Output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ void Output::init(
= dynamic_cast<VariableStringColumnReader*>(column_reader);
DateStringColumnReader* date_reader
= dynamic_cast<DateStringColumnReader*>(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
Expand Down

0 comments on commit ac1d5b1

Please sign in to comment.