mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 02:07:36 +00:00
namespace fix for debian buster, fixes issue #506
This commit is contained in:
committed by
Thomas Krijnen
parent
6bcc27362f
commit
91290f43ca
@@ -81,7 +81,7 @@ void IfcCharacterDecoder::addChar(std::stringstream& s,const UChar32& ch) {
|
|||||||
maximum length in bytes is 4. We add 1 for the NUL character. In other encodings
|
maximum length in bytes is 4. We add 1 for the NUL character. In other encodings
|
||||||
the length could be higher, but we have not taken that into account. */
|
the length could be higher, but we have not taken that into account. */
|
||||||
char extraction_buffer[5] = {};
|
char extraction_buffer[5] = {};
|
||||||
UnicodeString(ch).extract(extraction_buffer,5,destination,status);
|
icu::UnicodeString(ch).extract(extraction_buffer,5,destination,status);
|
||||||
extraction_buffer[4] = '\0';
|
extraction_buffer[4] = '\0';
|
||||||
s << extraction_buffer;
|
s << extraction_buffer;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user