diff options
| author | Sam Varshavchik | 2022-05-22 13:35:13 -0400 |
|---|---|---|
| committer | Sam Varshavchik | 2022-05-22 13:35:13 -0400 |
| commit | ac1eba1d2cd22e62b24b963028f2cd623b1ab1da (patch) | |
| tree | eadfb723e38032bd93bfac702c113a5e9fbcd751 /unicode/linebreaktest.C | |
| parent | 412734515b10bea970348dacdf42be3dc59845a6 (diff) | |
| download | courier-libs-ac1eba1d2cd22e62b24b963028f2cd623b1ab1da.tar.bz2 | |
gcc 12 and autotools updates.
Diffstat (limited to 'unicode/linebreaktest.C')
| -rw-r--r-- | unicode/linebreaktest.C | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/unicode/linebreaktest.C b/unicode/linebreaktest.C index 84ff83d..845215b 100644 --- a/unicode/linebreaktest.C +++ b/unicode/linebreaktest.C @@ -192,9 +192,11 @@ int main(int argc, char **argv) std::u32string::iterator e(uc.first.end()), b(std::find_if(uc.first.begin(), e, - std::not1(std::bind2nd(std::equal_to<char32_t> - (), - char32_t('0'))))); + [] + (char32_t c) + { + return c != '0'; + })); if (b == e || *b++ != 0x30A2 || b != e) { |
