Commit c828fc64 authored by Ng Zhi An's avatar Ng Zhi An Committed by Commit Bot

[clang-tidy] Remove redundant destructor

This destructor is declared virtual, but the class is not subclassed
anywhere. The empty body can be replaced by a =default. But since the
destructor doesn't do anything interesting, we can remove it.

Bug: v8:10488
Change-Id: Ie9c5f2c2742f644a99d85111dec208b01ad13fba
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2219397
Commit-Queue: Frank Tang <ftang@chromium.org>
Reviewed-by: 's avatarFrank Tang <ftang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68276}
parent 16ffec97
...@@ -299,7 +299,6 @@ class Intl { ...@@ -299,7 +299,6 @@ class Intl {
set_ = Intl::BuildLocaleSet(all_locales, C::path(), C::key()); set_ = Intl::BuildLocaleSet(all_locales, C::path(), C::key());
} }
virtual ~AvailableLocales() {}
const std::set<std::string>& Get() const { return set_; } const std::set<std::string>& Get() const { return set_; }
private: private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment