diff options
| -rw-r--r-- | include/cxxformat/ostream.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cxxformat/ostream.hpp b/include/cxxformat/ostream.hpp index 308b670..e132457 100644 --- a/include/cxxformat/ostream.hpp +++ b/include/cxxformat/ostream.hpp @@ -14,7 +14,7 @@ namespace format { void output(std::string_view what) const { - to << what; + to.write(what.data(), what.size()); } std::ostream& stream() const noexcept { return to; } |
