summaryrefslogtreecommitdiff
path: root/lib/streamSupport.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-05-22 16:42:06 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-05-22 16:42:06 +0100
commit2317b4608821b03da0cc288d06b9c0bdb6b60239 (patch)
tree7dd46e3c2c5601e603baa7defa057cd4d41fc4c9 /lib/streamSupport.cpp
parentMove everything into more sensible places (diff)
downloadmygrate-2317b4608821b03da0cc288d06b9c0bdb6b60239.tar.bz2
mygrate-2317b4608821b03da0cc288d06b9c0bdb6b60239.tar.xz
mygrate-2317b4608821b03da0cc288d06b9c0bdb6b60239.zip
Pass linter checks
Except IWYU, doesn't like the C++20 CTF.
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 &