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;