From 2317b4608821b03da0cc288d06b9c0bdb6b60239 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 22 May 2021 16:42:06 +0100 Subject: Pass linter checks Except IWYU, doesn't like the C++20 CTF. --- lib/streamSupport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/streamSupport.cpp') 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 & -- cgit v1.2.3