From 0fef9b03e32882f1ee2b2ed5fadca7eec3b2ac51 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Mon, 5 Aug 2024 14:26:09 -0400 Subject: [PATCH] xo-indentlog: fix: print_with_escapes() static to appease osx build --- include/xo/indentlog/print/quoted.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/xo/indentlog/print/quoted.hpp b/include/xo/indentlog/print/quoted.hpp index 08919f5..16e6626 100644 --- a/include/xo/indentlog/print/quoted.hpp +++ b/include/xo/indentlog/print/quoted.hpp @@ -35,8 +35,8 @@ namespace xo { bool unq_flag() const { return unq_flag_; } T const & value() const { return value_; } - void print_with_escapes(const std::string & xs, - std::ostream & os) const + static void print_with_escapes(const std::string & xs, + std::ostream & os) { /* printed value contains a space * and/or a must-be-escaped character. @@ -97,7 +97,7 @@ namespace xo { else os << "\"" << xs << "\""; } else { - this->print_with_escapes(xs, os); + print_with_escapes(xs, os); } } /*print*/