summaryrefslogtreecommitdiff
path: root/deps/v8/src/zone-allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/zone-allocator.h')
-rw-r--r--deps/v8/src/zone-allocator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/zone-allocator.h b/deps/v8/src/zone-allocator.h
index ab0ae9cf6..1eb69b89d 100644
--- a/deps/v8/src/zone-allocator.h
+++ b/deps/v8/src/zone-allocator.h
@@ -50,10 +50,10 @@ class zone_allocator {
}
void destroy(pointer p) { p->~T(); }
- bool operator==(zone_allocator const& other) {
+ bool operator==(zone_allocator const& other) const {
return zone_ == other.zone_;
}
- bool operator!=(zone_allocator const& other) {
+ bool operator!=(zone_allocator const& other) const {
return zone_ != other.zone_;
}