brianmario / charlock_holmes

Character encoding detection, brought to you by ICU
MIT License
1.04k stars 141 forks source link

Qualify icu types explicitly via icu:: #127

Closed mistydemeo closed 6 years ago

mistydemeo commented 6 years ago

As of ICU 61, there is no default using namespace icu; in the ICU headers. The migration documentation recommends explicitly qualifying all ICU types: http://source.icu-project.org/repos/icu/trunk/icu4c/readme.html#RecBuild

This updates transliterator.cpp, which seems to be the only affected part of the C extension. This should be backwards compatible with older ICU versions.