aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/collector.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/collector.h')
-rw-r--r--deps/v8/src/collector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/collector.h b/deps/v8/src/collector.h
index a3e940663f..bfaa9d42ce 100644
--- a/deps/v8/src/collector.h
+++ b/deps/v8/src/collector.h
@@ -184,7 +184,7 @@ class SequenceCollector : public Collector<T, growth_factor, max_growth> {
: Collector<T, growth_factor, max_growth>(initial_capacity),
sequence_start_(kNoSequence) {}
- virtual ~SequenceCollector() {}
+ ~SequenceCollector() override = default;
void StartSequence() {
DCHECK_EQ(sequence_start_, kNoSequence);
@@ -208,7 +208,7 @@ class SequenceCollector : public Collector<T, growth_factor, max_growth> {
sequence_start_ = kNoSequence;
}
- virtual void Reset() {
+ void Reset() override {
sequence_start_ = kNoSequence;
this->Collector<T, growth_factor, max_growth>::Reset();
}
@@ -218,7 +218,7 @@ class SequenceCollector : public Collector<T, growth_factor, max_growth> {
int sequence_start_;
// Move the currently active sequence to the new chunk.
- virtual void NewChunk(int new_capacity) {
+ void NewChunk(int new_capacity) override {
if (sequence_start_ == kNoSequence) {
// Fall back on default behavior if no sequence has been started.
this->Collector<T, growth_factor, max_growth>::NewChunk(new_capacity);