xo-indentlog: fix: print_with_escapes() static to appease osx build
This commit is contained in:
parent
18feb2bfe7
commit
0fef9b03e3
1 changed files with 3 additions and 3 deletions
|
|
@ -35,8 +35,8 @@ namespace xo {
|
||||||
bool unq_flag() const { return unq_flag_; }
|
bool unq_flag() const { return unq_flag_; }
|
||||||
T const & value() const { return value_; }
|
T const & value() const { return value_; }
|
||||||
|
|
||||||
void print_with_escapes(const std::string & xs,
|
static void print_with_escapes(const std::string & xs,
|
||||||
std::ostream & os) const
|
std::ostream & os)
|
||||||
{
|
{
|
||||||
/* printed value contains a space
|
/* printed value contains a space
|
||||||
* and/or a must-be-escaped character.
|
* and/or a must-be-escaped character.
|
||||||
|
|
@ -97,7 +97,7 @@ namespace xo {
|
||||||
else
|
else
|
||||||
os << "\"" << xs << "\"";
|
os << "\"" << xs << "\"";
|
||||||
} else {
|
} else {
|
||||||
this->print_with_escapes(xs, os);
|
print_with_escapes(xs, os);
|
||||||
}
|
}
|
||||||
} /*print*/
|
} /*print*/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue