Index: components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc |
diff --git a/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc b/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc |
index 6084f12f197de09d17eca77717522e336254984f..22dd7ede33d31beaee5f367659786e8f54f46c57 100644 |
--- a/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc |
+++ b/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc |
@@ -20,8 +20,8 @@ const size_t kMaxSuggestionsCount = 10; |
} // namespace |
// TODO(vitaliii): remove when Physical Web C++ interface is provided. |
-UrlInfo::UrlInfo() {} |
-UrlInfo::~UrlInfo() {} |
+UrlInfo::UrlInfo() = default; |
+UrlInfo::~UrlInfo() = default; |
UrlInfo::UrlInfo(const UrlInfo& other) = default; |
PhysicalWebPageSuggestionsProvider::PhysicalWebPageSuggestionsProvider( |
@@ -34,7 +34,8 @@ PhysicalWebPageSuggestionsProvider::PhysicalWebPageSuggestionsProvider( |
observer->OnCategoryStatusChanged(this, provided_category_, category_status_); |
} |
-PhysicalWebPageSuggestionsProvider::~PhysicalWebPageSuggestionsProvider() {} |
+PhysicalWebPageSuggestionsProvider::~PhysicalWebPageSuggestionsProvider() = |
+ default; |
void PhysicalWebPageSuggestionsProvider::OnDisplayableUrlsChanged( |
const std::vector<UrlInfo>& urls) { |