File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,22 +64,22 @@ class PersistentBase {
6464 inline void Empty () { persistent.Clear (); }
6565
6666 template <typename S>
67- inline bool operator ==(const PersistentBase<S> &that) {
67+ inline bool operator ==(const PersistentBase<S> &that) const {
6868 return this ->persistent == that.persistent ;
6969 }
7070
7171 template <typename S>
72- inline bool operator ==(const v8::Local<S> &that) {
72+ inline bool operator ==(const v8::Local<S> &that) const {
7373 return this ->persistent == that;
7474 }
7575
7676 template <typename S>
77- inline bool operator !=(const PersistentBase<S> &that) {
77+ inline bool operator !=(const PersistentBase<S> &that) const {
7878 return !operator ==(that);
7979 }
8080
8181 template <typename S>
82- inline bool operator !=(const v8::Local<S> &that) {
82+ inline bool operator !=(const v8::Local<S> &that) const {
8383 return !operator ==(that);
8484 }
8585
You can’t perform that action at this time.
0 commit comments