Review Request 123142: Fixes plasma-desktop compilation with boost 1.57
Alex Richardson
arichardson.kde at gmail.com
Thu Mar 26 19:59:22 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123142/#review78077
-----------------------------------------------------------
+1, should fix the build for me.
Not sure what the preferred style in plasma is (`static_cast<bool>(foo)` or `bool(foo)`) so I can't give the ship it.
- Alex Richardson
On March 26, 2015, 7:47 p.m., Tomaz Canabrava wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123142/
> -----------------------------------------------------------
>
> (Updated March 26, 2015, 7:47 p.m.)
>
>
> Review request for Plasma.
>
>
> Repository: plasma-desktop
>
>
> Description
> -------
>
> Plasma-desktop uses Boost::optional on a few places, but it stored the value as boolean ( bool thisValid = currentValue; for instance ), the issue is that boost::optional conversion to bool must be explicit, thus a static_cast is needed.
>
>
> Diffs
> -----
>
> lib/kactivities-stats/src/lib/stats/resultset_iterator.cpp 664b399
>
> Diff: https://git.reviewboard.kde.org/r/123142/diff/
>
>
> Testing
> -------
>
> compiles.
>
>
> Thanks,
>
> Tomaz Canabrava
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150326/72c739f4/attachment.html>
More information about the Plasma-devel
mailing list