Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10369

Inverted logic in assert in TEveVectorT on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.18/04
    • Fix Version/s: 6.20/00
    • Component/s: Core Libraries
    • Labels:
      None
    • Environment:

      Windows 10

      ROOT 6.18.04

      Description

      https://root.cern.ch/doc/master/TEveVector_8h_source.html

      The exact same statement for assertion in Arr() function is used for Linux and Windows, but on Windows an if is used instead of static_assert, which basically inverts the logic (i.e. the error message is printed when everything is fine).

       

      Besides, is the distinction even neccessary? The static_assert should work on Windows.

        Attachments

          Activity

            People

            • Assignee:
              bellenot Bertrand Bellenot
              Reporter:
              nowakowp Piotr Nowakowski
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: