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

@@ -122,7 +122,7 @@ class XMLSAXImporter
}
static void characters( void *user_data, const xmlChar *ch, int len ){
reinterpret_cast<XMLSAXImporter*>( user_data )->m_importer
<< StringRange( reinterpret_cast<const char*>( ch ), reinterpret_cast<const char*>( ch + len ) );
<< StringRange( reinterpret_cast<const char*>( ch ), len );
}
static void warning( void *user_data, const char *msg, ... ){