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

Unified Diff: src/messages.h

Issue 2349153002: Fix bitfield enums to not trigger upcoming Clang warning (Closed)
Patch Set: Fixed formatting issues 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 | « src/globals.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.h
diff --git a/src/messages.h b/src/messages.h
index b3f8a1d5e154191ce141fd9a4e06f037679fa70d..909b10c62927181f8721e2e9d359b7a894039741 100644
--- a/src/messages.h
+++ b/src/messages.h
@@ -649,7 +649,7 @@ class ErrorUtils : public AllStatic {
class MessageTemplate {
public:
- enum Template {
+ enum Template : unsigned {
#define TEMPLATE(NAME, STRING) k##NAME,
MESSAGE_TEMPLATES(TEMPLATE)
#undef TEMPLATE
« no previous file with comments | « src/globals.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698