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

Unified Diff: src/record/SkRecords.h

Issue 270353003: Statically initialize those zero-size singletons. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: disable warning Created 6 years, 7 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/record/SkRecord.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/record/SkRecords.h
diff --git a/src/record/SkRecords.h b/src/record/SkRecords.h
index bfa15496f31746284dfdc1358baaa2f68a421997..d4b6852d705d956556cca35e547a31c82870b511 100644
--- a/src/record/SkRecords.h
+++ b/src/record/SkRecords.h
@@ -63,7 +63,6 @@ enum Type { SK_RECORD_TYPES(ENUM) };
#define RECORD0(T) \
struct T { \
static const Type kType = T##_Type; \
- T() {} \
};
// We try to be flexible about the types the constructors take. Instead of requring the exact type
« no previous file with comments | « src/record/SkRecord.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698