Change UUIDCatalog::iterator operator== and _repositionIfNeeded

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.10
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Storage NYC 2019-03-11, Storage NYC 2019-03-25
    • 10
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      TheĀ _mapIter == _uuidCatalog->_orderedCollections.end() comparison in UUIDCatalog::iterator::operator== fails on Windows DEBUG builds if _mapIter is invalidated. Change the meaning on iterator equality for UUIDCatalog::iterator to prevent this.

      The _repositionIfNeeded method also has a bug: it returns false if _mapIter is now at the end of the map. This should return true because the iterator has actually been repositioned.

            Assignee:
            Divjot Arora (Inactive)
            Reporter:
            Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: