From 4c20bdbbfd73c8b6a7591e87994580ddf8d7ed59 Mon Sep 17 00:00:00 2001 From: ullingerc Date: Fri, 29 Nov 2024 19:47:02 +0100 Subject: [PATCH] mark print functions as inline --- test/printers/VariablePrinters.h | 2 +- test/printers/VariableToColumnMapPrinters.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/printers/VariablePrinters.h b/test/printers/VariablePrinters.h index 98b65dcd76..4acf43c03b 100644 --- a/test/printers/VariablePrinters.h +++ b/test/printers/VariablePrinters.h @@ -6,7 +6,7 @@ #include "parser/data/Variable.h" // _____________________________________________________________ -void PrintTo(const Variable& var, std::ostream* os) { +inline void PrintTo(const Variable& var, std::ostream* os) { auto& s = *os; s << var.name(); } diff --git a/test/printers/VariableToColumnMapPrinters.h b/test/printers/VariableToColumnMapPrinters.h index e5635a73f4..052daa4aff 100644 --- a/test/printers/VariableToColumnMapPrinters.h +++ b/test/printers/VariableToColumnMapPrinters.h @@ -7,7 +7,7 @@ #include "engine/VariableToColumnMap.h" // __________________________________________________________________ -void PrintTo(const ColumnIndexAndTypeInfo& colIdx, std::ostream* os) { +inline void PrintTo(const ColumnIndexAndTypeInfo& colIdx, std::ostream* os) { auto& s = *os; s << "col: " << colIdx.columnIndex_ << " might be undef: " << static_cast(colIdx.mightContainUndef_);