Review Request 127522: kcodec: Simplify code (qCount -> std::count, homegrown isprint -> QChar::isPrint)
Aleix Pol Gonzalez
aleixpol at kde.org
Tue Mar 29 16:57:12 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127522/#review94111
-----------------------------------------------------------
Ship it!
Ship It!
- Aleix Pol Gonzalez
On March 29, 2016, 6:52 p.m., Dominik Haumann wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127522/
> -----------------------------------------------------------
>
> (Updated March 29, 2016, 6:52 p.m.)
>
>
> Review request for KDE Frameworks.
>
>
> Repository: kcodecs
>
>
> Description
> -------
>
> This patch does two things:
> 1. use std::count() instead of deprecated qCount()
> 2. use QChar::isPrint() instead of the homegrown isprint() function.
>
> Especially (2) allows us to remove the header "src/probers/ctype_test_p.h", which looks like a C implementation of isprint().
>
>
> Diffs
> -----
>
> src/probers/UnicodeGroupProber.cpp cfbb06b
> src/probers/ctype_test_p.h 0421f99
>
> Diff: https://git.reviewboard.kde.org/r/127522/diff/
>
>
> Testing
> -------
>
> make test -> all tests PASS.
>
>
> Thanks,
>
> Dominik Haumann
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160329/6138f1d4/attachment.html>
More information about the Kde-frameworks-devel
mailing list