From 64eb5b4d1de8b811869adcac823924f7ed26f9b0 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Mon, 19 Nov 2018 17:48:35 +0100 Subject: [PATCH] namespace fix for debian buster, fixes issue #506 --- src/ifcparse/IfcCharacterDecoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcparse/IfcCharacterDecoder.cpp b/src/ifcparse/IfcCharacterDecoder.cpp index 41638366a8..82d9206609 100644 --- a/src/ifcparse/IfcCharacterDecoder.cpp +++ b/src/ifcparse/IfcCharacterDecoder.cpp @@ -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 the length could be higher, but we have not taken that into account. */ 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'; s << extraction_buffer; } else {