Skip to content

Commit

Permalink
Fix TablePrinter printing
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwbrei committed Jul 3, 2024
1 parent 82bc753 commit 65f1952
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libraries/JANA/Utils/JTablePrinter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ void JTablePrinter::Render(std::ostream& os) {
}
}

std::ostream& operator<<(std::ostream& os, JTablePrinter& t) {
std::ostream& operator<<(std::ostream& os, const JTablePrinter& t) {
t.Render(os);
return os;
}
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/JANA/Utils/JTablePrinter.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class JTablePrinter {

};

std::ostream& operator<<(std::ostream& os, JTablePrinter& t);
std::ostream& operator<<(std::ostream& os, const JTablePrinter& t);

template <typename T>
JTablePrinter& JTablePrinter::operator|(T cell) {
Expand Down

0 comments on commit 65f1952

Please sign in to comment.