Ticket #8259: boost-03-icu_cleanup.patch
File boost-03-icu_cleanup.patch, 659 bytes (added by , 10 years ago) |
---|
-
libs/locale/src/icu/icu_backend.cpp
17 17 #include <iterator> 18 18 19 19 #include <unicode/ucnv.h> 20 #include <unicode/uclean.h> 20 21 22 class backend_icu 23 { 24 public: 25 backend_icu() 26 { 27 UErrorCode error = U_ZERO_ERROR; 28 u_init(&error); 29 } 30 31 ~backend_icu() 32 { 33 u_cleanup(); 34 } 35 }; 36 37 static backend_icu backend; 38 21 39 namespace boost { 22 40 namespace locale { 23 41 namespace impl_icu {