replace ArrayRange by tcb::span (reproduction of std::span)

This commit is contained in:
Garux
2021-10-24 08:32:10 +03:00
parent 4726542134
commit d812cbd4d4
30 changed files with 544 additions and 158 deletions

View File

@@ -395,7 +395,7 @@ inline MessageOutputStream& operator<<( MessageOutputStream& ostream, const T& t
static void saxCharacters( message_info_t *data, const xmlChar *ch, int len ){
MessageOutputStream ostream( data );
ostream << StringRange( reinterpret_cast<const char*>( ch ), reinterpret_cast<const char*>( ch + len ) );
ostream << StringRange( reinterpret_cast<const char*>( ch ), len );
}
static void saxComment( void *ctx, const xmlChar *msg ){