Skip to content

Commit

Permalink
mark print functions as inline
Browse files Browse the repository at this point in the history
  • Loading branch information
ullingerc committed Nov 29, 2024
1 parent 5c32fbf commit 4c20bdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/printers/VariablePrinters.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
2 changes: 1 addition & 1 deletion test/printers/VariableToColumnMapPrinters.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<bool>(colIdx.mightContainUndef_);
Expand Down

0 comments on commit 4c20bdb

Please sign in to comment.