tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

trace-constiterator-operator-not-equal.patch (509B)


      1 diff --git a/js/src/irregexp/imported/regexp-compiler.h b/js/src/irregexp/imported/regexp-compiler.h
      2 index 88dc915ece02..65e2111cf51f 100644
      3 --- a/imported/regexp-compiler.h
      4 +++ b/imported/regexp-compiler.h
      5 @@ -344,4 +344,7 @@ class Trace {
      6     bool operator==(const ConstIterator& other) const {
      7       return trace_ == other.trace_;
      8     }
      9 +    bool operator!=(const ConstIterator& other) const {
     10 +      return !(*this == other);
     11 +    }
     12     const Trace* operator*() const { return trace_; }
     13 
     14    private: