[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: Frank Tang <ftang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68276}
This commit is contained in:
Ng Zhi An 2020-05-28 15:40:07 -07:00 committed by Commit Bot
parent 16ffec97e5
commit c828fc64eb

View File

@ -299,7 +299,6 @@ class Intl {
set_ = Intl::BuildLocaleSet(all_locales, C::path(), C::key());
}
virtual ~AvailableLocales() {}
const std::set<std::string>& Get() const { return set_; }
private: