diff options
| author | 2014-01-02 16:46:18 -0800 | |
|---|---|---|
| committer | 2014-01-02 16:52:32 -0800 | |
| commit | 564acf7c9bff822f608cda0d5df0a64a9f9aaefd (patch) | |
| tree | 93a3203fc99098dedd4df5660c96d6800c97ae93 /libs/hwui/Layer.h | |
| parent | e459367a3a49cbe94dfe38c50369431614dddc9c (diff) | |
Fix Clang warnings/errors
Fix several build warnings (struct != class, int != size_t) and errors
(variable leng non-POD arrays).
Change-Id: I70b4e784365514303d8954bfcb1f39d7c22c1321
Diffstat (limited to 'libs/hwui/Layer.h')
| -rw-r--r-- | libs/hwui/Layer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/Layer.h b/libs/hwui/Layer.h index b70042f33155..471a4a6084c1 100644 --- a/libs/hwui/Layer.h +++ b/libs/hwui/Layer.h @@ -49,7 +49,8 @@ class DeferStateStruct; /** * A layer has dimensions and is backed by an OpenGL texture or FBO. */ -struct Layer { +class Layer { +public: Layer(const uint32_t layerWidth, const uint32_t layerHeight); ~Layer(); |