We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35592d5 commit 1eebee3Copy full SHA for 1eebee3
trantor/utils/LogStream.h
@@ -22,10 +22,6 @@
22
#include <string.h> // memcpy
23
#include <string>
24
25
-#if __cplusplus >= 201703L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)
26
-#include <string_view>
27
-#endif
28
-
29
namespace trantor
30
{
31
namespace detail
@@ -204,13 +200,6 @@ class TRANTOR_EXPORT LogStream : NonCopyable
204
200
append(v.c_str(), v.size());
205
201
return *this;
206
202
}
207
208
- self &operator<<(const std::string_view v)
209
- {
210
- append(v.data(), v.length());
211
- return *this;
212
- }
213
214
203
215
void append(const char *data, size_t len)
216
0 commit comments