From 015f5d9d5c31f94fa44927b5a3c5734a71dcb8eb Mon Sep 17 00:00:00 2001 From: Brandon Pollack Date: Thu, 2 Jun 2022 06:59:33 +0000 Subject: Change POINTER_ICON_STYLE enum to a type safe enum class Test: Current tests all pass, this is a static type change, not a functional change. Change-Id: I8f0e8e43ea64f5abab163e4ef5444a8cb3d4fa78 --- libs/input/PointerController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/input/PointerController.cpp') diff --git a/libs/input/PointerController.cpp b/libs/input/PointerController.cpp index 10ea6512c724..54f893e165f7 100644 --- a/libs/input/PointerController.cpp +++ b/libs/input/PointerController.cpp @@ -264,7 +264,7 @@ void PointerController::setDisplayViewport(const DisplayViewport& viewport) { } } -void PointerController::updatePointerIcon(int32_t iconId) { +void PointerController::updatePointerIcon(PointerIconStyle iconId) { std::scoped_lock lock(getLock()); mCursorController.updatePointerIcon(iconId); } -- cgit v1.2.3-59-g8ed1b