From 2dbc6305d693bf87518bc77f28d4bba618b2a875 Mon Sep 17 00:00:00 2001 From: bofdahof <172177156+bofdahof@users.noreply.github.com> Date: Sat, 22 Mar 2025 13:31:30 +1000 Subject: [PATCH] Replace std::endl with '\n' --- src/Base/Console.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Base/Console.h b/src/Base/Console.h index e7ba0db8c7..e377c2d904 100644 --- a/src/Base/Console.h +++ b/src/Base/Console.h @@ -364,7 +364,7 @@ using PyMethodDef = struct PyMethodDef; std::stringstream _str; \ _instance.prefix(_str, _file, _line) << _msg; \ if (_instance.add_eol) \ - _str << std::endl; \ + _str << '\n'; \ Base::Console()._func(_notifier, _str.str().c_str()); \ if (_instance.refresh) \ Base::Console().Refresh(); \