Released in Unity 7.1

** Changed in: unity/trunk
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dp-unity
https://bugs.launchpad.net/bugs/1163705

Title:
  ResultIterator.h defines functions that return const values

Status in Unity:
  Fix Released
Status in Unity 6.0 series:
  New
Status in Unity 7.0 series:
  New
Status in Unity phablet-mods series:
  Fix Committed
Status in Unity trunk series:
  Fix Released
Status in “unity” package in Ubuntu:
  Fix Released

Bug description:
  In UnityCore/ResultIterator.h, we have things such as:

  friend inline bool const operator<(const ResultIterator& lhs, const
  ResultIterator& rhs)

  and

  bool const IsLast();

  Declaring a function to return a const value is meaningless, and the
  compiler ignores the const. Moreover, with -Wall -Wextra, gcc emits a
  warning about the ignored const and, with -Werror, produces an error.

  The const return values need to be non-const.

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1163705/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to