D16306: [Codecs] Remove unneeded const_cast

Stefan BrĂ¼ns noreply at phabricator.kde.org
Fri Oct 19 00:20:47 BST 2018


bruns created this revision.
bruns added reviewers: Baloo, Frameworks, poboiko, ngraham.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION SUMMARY
  QByteArray accepts a const char* in the constructor, no need to cast
  the const away.
  Also make it obvious we are using the const overload of data() by
  replacing it with constData().

REPOSITORY
  R293 Baloo

BRANCH
  oob

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

AFFECTED FILES
  src/codecs/postingcodec.cpp

To: bruns, #baloo, #frameworks, poboiko, ngraham
Cc: kde-frameworks-devel, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181018/75d00ec6/attachment.html>


More information about the Kde-frameworks-devel mailing list