Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1710)

Unified Diff: components/ntp_snippets/category_factory.cc

Issue 2368583002: [NTP Snippets] Cleanups from clang-tidy (Closed)
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/ntp_snippets/category_factory.cc
diff --git a/components/ntp_snippets/category_factory.cc b/components/ntp_snippets/category_factory.cc
index 0c01dfee8d59045e0ac4e598c198fe8fbbde6a88..9962f0771eb05fda3eb43074cfb66ccbf5b85e2e 100644
--- a/components/ntp_snippets/category_factory.cc
+++ b/components/ntp_snippets/category_factory.cc
@@ -31,7 +31,7 @@ CategoryFactory::CategoryFactory() {
ordered_categories_.size());
}
-CategoryFactory::~CategoryFactory() {}
+CategoryFactory::~CategoryFactory() = default;
Category CategoryFactory::FromKnownCategory(KnownCategories known_category) {
if (known_category < KnownCategories::LOCAL_CATEGORIES_COUNT) {
« no previous file with comments | « components/ntp_snippets/bookmarks/bookmark_last_visit_utils_unittest.cc ('k') | components/ntp_snippets/category_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698