Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1185

qt-creator-opensource-src-4.4.0/src/shared/qbs/src/lib/corelib/api/projectdata.cpp:648: bad compare ?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.9.1
    • 1.9.0
    • General
    • None
    • 8e2813ca061f318e78e2b1df153c53f50e9a2067

    Description

      qt-creator-opensource-src-4.4.0/src/shared/qbs/src/lib/corelib/api/projectdata.cpp:648]: (style) Same expression on both sides of '<'.

       

      Source code is

      return lhs.profile() < rhs.profile()
      && lhs.multiplexConfigurationId() < lhs.multiplexConfigurationId();

       

      Suggest new code

      return lhs.profile() < rhs.profile()
      && lhs.multiplexConfigurationId() < rhs.multiplexConfigurationId();

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jbornema Joerg Bornemann
            dcb David Binderman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes