diff options
author | Chris Craik <ccraik@google.com> | 2015-01-26 18:06:29 -0800 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2015-01-27 17:12:39 -0800 |
commit | 65fe5eeb19e2e15c8b1ee91e8a2dcf0c25e48ca6 (patch) | |
tree | 2283afa7268a8c9c488eb533066881e2b24d73a5 /libs/hwui/utils | |
parent | d05d91358d89953a1374601a5b04b7ed65403e8c (diff) | |
download | frameworks_base-65fe5eeb19e2e15c8b1ee91e8a2dcf0c25e48ca6.zip frameworks_base-65fe5eeb19e2e15c8b1ee91e8a2dcf0c25e48ca6.tar.gz frameworks_base-65fe5eeb19e2e15c8b1ee91e8a2dcf0c25e48ca6.tar.bz2 |
Move scissor state to RenderState
Change-Id: I1227a3886fb24e4d9fad79fca469794f06cfb15e
Diffstat (limited to 'libs/hwui/utils')
-rw-r--r-- | libs/hwui/utils/Macros.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/utils/Macros.h b/libs/hwui/utils/Macros.h index 5b7c87c..fe43fdb 100644 --- a/libs/hwui/utils/Macros.h +++ b/libs/hwui/utils/Macros.h @@ -18,8 +18,8 @@ #define PREVENT_COPY_AND_ASSIGN(Type) \ private: \ - Type(const Type&); \ - void operator=(const Type&) + Type(const Type&) = delete; \ + void operator=(const Type&) = delete #define DESCRIPTION_TYPE(Type) \ int compare(const Type& rhs) const { return memcmp(this, &rhs, sizeof(Type));} \ |