summaryrefslogtreecommitdiff
path: root/lib/streamSupport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/streamSupport.cpp')
-rw-r--r--lib/streamSupport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/streamSupport.cpp b/lib/streamSupport.cpp
index 541b191..1e5258c 100644
--- a/lib/streamSupport.cpp
+++ b/lib/streamSupport.cpp
@@ -11,7 +11,7 @@ namespace std {
std::ostream &
operator<<(std::ostream & s, const MARIADB_STRING & str)
{
- return s.write(str.str, str.length);
+ return s << std::string_view(str.str, str.length);
}
std::ostream &