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

Unified Diff: base/sys_string_conversions_unittest.cc

Issue 552004: Style cleanup in preparation for auto-linting base/. (Closed)
Patch Set: Created 10 years, 11 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 | « base/sync_socket_posix.cc ('k') | base/test/perf_test_suite.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sys_string_conversions_unittest.cc
diff --git a/base/sys_string_conversions_unittest.cc b/base/sys_string_conversions_unittest.cc
index 56c5412ec5d8850c862a730596d0862806d76f4c..dd94258507d92ae604a694f119bf4764c39c874a 100644
--- a/base/sys_string_conversions_unittest.cc
+++ b/base/sys_string_conversions_unittest.cc
@@ -78,7 +78,7 @@ namespace {
class ScopedSetLocale {
public:
- ScopedSetLocale(const char* locale) {
+ explicit ScopedSetLocale(const char* locale) {
old_locale_ = setlocale(LC_ALL, NULL);
setlocale(LC_ALL, locale);
}
« no previous file with comments | « base/sync_socket_posix.cc ('k') | base/test/perf_test_suite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698