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

Unified Diff: components/ntp_snippets/user_classifier.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
« no previous file with comments | « components/ntp_snippets/sessions/foreign_sessions_suggestions_provider_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/user_classifier.cc
diff --git a/components/ntp_snippets/user_classifier.cc b/components/ntp_snippets/user_classifier.cc
index 0f6eeccaefff3583615ba026a51222e95dd82df1..a9122343a1ee3e2977c2416e02121463455b04e1 100644
--- a/components/ntp_snippets/user_classifier.cc
+++ b/components/ntp_snippets/user_classifier.cc
@@ -4,9 +4,8 @@
#include "components/ntp_snippets/user_classifier.h"
-#include <float.h>
-
#include <algorithm>
+#include <cfloat>
#include <string>
#include "base/metrics/histogram_macros.h"
@@ -215,7 +214,7 @@ UserClassifier::UserClassifier(PrefService* pref_service)
}
}
-UserClassifier::~UserClassifier() {}
+UserClassifier::~UserClassifier() = default;
// static
void UserClassifier::RegisterProfilePrefs(PrefRegistrySimple* registry) {
« no previous file with comments | « components/ntp_snippets/sessions/foreign_sessions_suggestions_provider_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698