Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 27411c19a05b3891ef8ed3d85d2f149571152b51..0c019a73848744c779db8cde72722c4289ad8051 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -7618,10 +7618,10 @@ class VisitorAdapter : public i::ObjectVisitor { |
public: |
explicit VisitorAdapter(PersistentHandleVisitor* visitor) |
: visitor_(visitor) {} |
- virtual void VisitPointers(i::Object** start, i::Object** end) { |
+ void VisitPointers(i::Object** start, i::Object** end) override { |
UNREACHABLE(); |
} |
- virtual void VisitEmbedderReference(i::Object** p, uint16_t class_id) { |
+ void VisitEmbedderReference(i::Object** p, uint16_t class_id) override { |
Value* value = ToApi<Value>(i::Handle<i::Object>(p)); |
visitor_->VisitPersistentHandle( |
reinterpret_cast<Persistent<Value>*>(&value), class_id); |