Index: test/unittests/compiler-dispatcher/compiler-dispatcher-job-unittest.cc |
diff --git a/test/unittests/compiler-dispatcher/compiler-dispatcher-job-unittest.cc b/test/unittests/compiler-dispatcher/compiler-dispatcher-job-unittest.cc |
index 6c5f24e1c12a008bfadca8d2b1c91d2bdcc84a19..5b8ec478a03d5f4f8a1543f9d1aeac71f8c07ad7 100644 |
--- a/test/unittests/compiler-dispatcher/compiler-dispatcher-job-unittest.cc |
+++ b/test/unittests/compiler-dispatcher/compiler-dispatcher-job-unittest.cc |
@@ -21,9 +21,10 @@ class ScriptResource : public v8::String::ExternalOneByteStringResource { |
public: |
ScriptResource(const char* data, size_t length) |
: data_(data), length_(length) {} |
+ ~ScriptResource() override = default; |
- const char* data() const { return data_; } |
- size_t length() const { return length_; } |
+ const char* data() const override { return data_; } |
+ size_t length() const override { return length_; } |
private: |
const char* data_; |