From 76fb64bc578fc1a7b66e54da52c04b980e07e352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20W=C3=B6lzer?= <martin@libclapp.org> Date: Sat, 14 Sep 2024 14:19:36 +0200 Subject: [PATCH] tests/parser.cpp: get rid of std::endl --- tests/parser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/parser.cpp b/tests/parser.cpp index 3c01ac88..4598f058 100644 --- a/tests/parser.cpp +++ b/tests/parser.cpp @@ -134,7 +134,7 @@ class simple_test_parser4_t : public clapp::parser::basic_parser_t { static clapp::value::found_func_t::ret_t found_cb( const std::string_view option) { - std::cout << "found cb: " << option << std::endl; + std::cout << "found cb: " << option << "\n"; return clapp::value::exit_t::exit(EXIT_SUCCESS); } @@ -179,7 +179,7 @@ class simple_test_parser5_t : public clapp::parser::basic_parser_t { static clapp::value::found_func_t::ret_t found_cb( const std::string_view option) { static std::size_t cnt{0U}; - std::cout << "found cb: " << option << std::endl; + std::cout << "found cb: " << option << "\n"; cnt++; if (cnt == 1U) { return clapp::value::found_func_t::ret_t{}; -- GitLab