From 65fe5eeb19e2e15c8b1ee91e8a2dcf0c25e48ca6 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Mon, 26 Jan 2015 18:06:29 -0800 Subject: Move scissor state to RenderState Change-Id: I1227a3886fb24e4d9fad79fca469794f06cfb15e --- libs/hwui/utils/Macros.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/hwui/utils') 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));} \ -- cgit v1.1