From f05ca6536dffde3f6fadfffebe43db75d72a7c81 Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Fri, 13 Jul 2018 15:53:20 +1100 Subject: [PATCH] Use '\t' instead of static_cast(9) (cherry-picked from commit 4c29a0dd5895784b94a2393feddf0613742f3a0c) --- src/config.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config.cpp b/src/config.cpp index 4e9948947d33..0901501e72ee 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -1247,7 +1247,7 @@ std::ostream& operator<<(std::ostream& outstream, const config& cfg) } for(int j = 0; j < i - 1; j++) { - outstream << static_cast(9); + outstream << '\t'; } outstream << val.first << " = " << val.second << '\n'; @@ -1255,14 +1255,14 @@ std::ostream& operator<<(std::ostream& outstream, const config& cfg) for(const config::any_child& child : cfg.all_children_range()) { for(int j = 0; j < i - 1; ++j) { - outstream << static_cast(9); + outstream << '\t'; } outstream << "[" << child.key << "]\n"; outstream << child.cfg; for(int j = 0; j < i - 1; ++j) { - outstream << static_cast(9); + outstream << '\t'; } outstream << "[/" << child.key << "]\n";