From e65a46e99a6d6aeace830c5c8c3055d50c963048 Mon Sep 17 00:00:00 2001 From: sp Date: Sat, 13 Jan 2024 18:24:04 +0100 Subject: [PATCH] fixed indentation --- main.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/main.cpp b/main.cpp index 2760259..7b70a81 100644 --- a/main.cpp +++ b/main.cpp @@ -23,15 +23,15 @@ std::vector parseCommaSeparatedString(std::string const& str) { struct printer { - typedef boost::spirit::utf8_string string; + typedef boost::spirit::utf8_string string; - void element(string const& tag, string const& value, int depth) const { - for (int i = 0; i < (depth*4); ++i) std::cout << ' '; + void element(string const& tag, string const& value, int depth) const { + for (int i = 0; i < (depth*4); ++i) std::cout << ' '; - std::cout << "tag: " << tag; - if (value != "") std::cout << ", value: " << value; - std::cout << std::endl; - } + std::cout << "tag: " << tag; + if (value != "") std::cout << ", value: " << value; + std::cout << std::endl; + } }; void print_info(boost::spirit::info const& what) {