COMP: fix typos in construct ispanstream from std::string_view (#3234)

This commit is contained in:
Mark Olesen 2024-12-10 14:25:47 +01:00
parent 1cb61b90e7
commit a797ac8193

View File

@ -119,10 +119,10 @@ public:
#if __cplusplus >= 201703L
//- Construct (shallow copy) from std::string_view content
explicit ispanstream(std::string_view s)
{
:
buffer_type(const_cast<char*>(s.data()), s.size()),
stream_type(static_cast<buffer_type*>(this));
}
stream_type(static_cast<buffer_type*>(this))
{}
#endif
//- Construct (shallow copy) from span character content