refactor: use = default to define trivial destructors (#46165)

refactor: use '= default' to define trivial destructors
This commit is contained in:
Charles Kerr 2025-03-21 16:15:34 -05:00 committed by GitHub
parent db47267be4
commit a81e11d9de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 11 deletions

View file

@ -155,7 +155,7 @@ class JSLayoutManager : public views::LayoutManagerBase {
public:
explicit JSLayoutManager(LayoutCallback layout_callback)
: layout_callback_(std::move(layout_callback)) {}
~JSLayoutManager() override {}
~JSLayoutManager() override = default;
// views::LayoutManagerBase
views::ProposedLayout CalculateProposedLayout(