Remove addition of TimeInstants

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 20
    • Component/s: hotspot
    • None
    • b07

      The TimeInstant class has an operator+ member function taking another TimeInstant and returning a corresponding TimeInterval. It doesn't make semantic sense to add TimeInstants. The implementation is equivalent to performing a subtraction operation with the argument order reversed, making it kind of an inverse for subtraction. But really, this operation just shouldn't exist. Fortunately, there are no callers.

            Assignee:
            Kim Barrett
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: