diff options
Diffstat (limited to 'src/squelch/tree_printer.cc')
-rw-r--r-- | src/squelch/tree_printer.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/squelch/tree_printer.cc b/src/squelch/tree_printer.cc index 2be098dc..0dbceec9 100644 --- a/src/squelch/tree_printer.cc +++ b/src/squelch/tree_printer.cc @@ -86,4 +86,9 @@ void TreePrinter::write(uint8_t color, cptr line) } } +void TreePrinter::write(uint8_t color, std::string const &line) +{ + write(color, line.c_str()); +} + } // namespace |