From e84a208317e0ed388fcdad1e6743c7849acb51b0 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Mon, 22 Dec 2014 14:28:49 -0800 Subject: Add overrides and switch to nullptr keyword Changes generated with clang-modernize. Additionally, fixed some struct-vs-class usage to make clang happy. Change-Id: Ic6ef2427401ff1e794d26f21f7b44868fc75fb72 --- libs/hwui/Fence.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/hwui/Fence.h') diff --git a/libs/hwui/Fence.h b/libs/hwui/Fence.h index f175e98eea63..fc29f7ac1e5b 100644 --- a/libs/hwui/Fence.h +++ b/libs/hwui/Fence.h @@ -43,7 +43,7 @@ public: Fence() { mDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); if (mDisplay != EGL_NO_DISPLAY) { - mFence = eglCreateSyncKHR(mDisplay, EGL_SYNC_FENCE_KHR, NULL); + mFence = eglCreateSyncKHR(mDisplay, EGL_SYNC_FENCE_KHR, nullptr); } else { mFence = EGL_NO_SYNC_KHR; } -- cgit v1.2.3-59-g8ed1b