diff options
| author | Sam Varshavchik | 2017-03-06 19:51:02 -0500 |
|---|---|---|
| committer | Sam Varshavchik | 2017-03-06 19:51:02 -0500 |
| commit | f25724f8807dddededb347e4740bfed93fda7bf5 (patch) | |
| tree | f91dab87d22a2363fb95eca8071d9b72be1ea0cb /unicode/wordbreaktest.C | |
| parent | 7b444198abbc9d46d1ae191f3153b959a13b11a1 (diff) | |
| download | courier-libs-f25724f8807dddededb347e4740bfed93fda7bf5.tar.bz2 | |
courier-unicode: C++11 update.
* Migrate to C++11: remove unicode_char, use char32_t. Replace
std::vector<unicode_char> with std::u32string.
Diffstat (limited to 'unicode/wordbreaktest.C')
| -rw-r--r-- | unicode/wordbreaktest.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unicode/wordbreaktest.C b/unicode/wordbreaktest.C index 72d2b14..91e3c31 100644 --- a/unicode/wordbreaktest.C +++ b/unicode/wordbreaktest.C @@ -78,7 +78,7 @@ static void testsuite() words.push_back(std::string(p, b)); } - std::vector<unicode_char> ubuf; + std::u32string ubuf; std::vector<bool> status; while (1) @@ -102,7 +102,7 @@ static void testsuite() std::istringstream i(words.front()); - unicode_char uc; + uint32_t uc; i >> std::hex >> uc; |
