D14081: Fix types, improve readability

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Jul 12 18:26:16 BST 2018


broulik added a comment.


  I dont really have a strong opinion on this one

INLINE COMMENTS

> xcbeventlistener.cpp:151
>  {
> -    xcb_randr_screen_change_notify_event_t *e2 =
> -        (xcb_randr_screen_change_notify_event_t *) e;
> +    auto e2 = reinterpret_cast<xcb_randr_screen_change_notify_event_t*>(e);
>  

I prefer to keep `*` and `&` even for when using `auto`

REPOSITORY
  R110 KScreen Library

REVISION DETAIL
  https://phabricator.kde.org/D14081

To: gladhorn, #plasma
Cc: broulik, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180712/935cda9c/attachment.html>


More information about the Plasma-devel mailing list