From adfc70849ddb9ff417d4d9c020a5d82626e81cc4 Mon Sep 17 00:00:00 2001 From: Jez Higgins Date: Tue, 10 Sep 2024 12:31:45 +0100 Subject: [PATCH] xslt: flush rather than endl for messages --- include/XSLT/impl/xslt_sink.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/XSLT/impl/xslt_sink.hpp b/include/XSLT/impl/xslt_sink.hpp index b90c0f9d..6cf42ab5 100644 --- a/include/XSLT/impl/xslt_sink.hpp +++ b/include/XSLT/impl/xslt_sink.hpp @@ -115,7 +115,9 @@ public: virtual Output& asOutput() { return *this; } - void flush() { stream_ << std::endl; } + void flush() { + stream_.flush(); + } protected: typedef typename Output::Settings Settings;