⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 245271 in webkit


Ignore:
Timestamp:
May 13, 2019, 8:38:13 PM (7 years ago)
Author:
rmorisset@apple.com
Message:

IndexSet::isEmpty should use BitVector::isEmpty() instead of size()
https://bugs.webkit.org/show_bug.cgi?id=197857

Reviewed by Darin Adler.

  • wtf/IndexSet.h:

(WTF::IndexSet::isEmpty const):

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r245269 r245271  
     12019-05-13  Robin Morisset  <rmorisset@apple.com>
     2
     3        IndexSet::isEmpty should use BitVector::isEmpty() instead of size()
     4        https://bugs.webkit.org/show_bug.cgi?id=197857
     5
     6        Reviewed by Darin Adler.
     7
     8        * wtf/IndexSet.h:
     9        (WTF::IndexSet::isEmpty const):
     10
    1112019-05-13  Youenn Fablet  <youenn@apple.com>
    212
  • trunk/Source/WTF/wtf/IndexSet.h

    r214636 r245271  
    7777    bool isEmpty() const
    7878    {
    79         return !size();
     79        return m_set.isEmpty();
    8080    }
    8181
Note: See TracChangeset for help on using the changeset viewer.