From c4601a6f0b384053e190a9256bcdefc3ae658be5 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 2 Mar 2025 19:31:55 +0100 Subject: [PATCH] remove wivrn_controller_destroy --- server/driver/wivrn_controller.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server/driver/wivrn_controller.cpp b/server/driver/wivrn_controller.cpp index 84b79428..8592be65 100644 --- a/server/driver/wivrn_controller.cpp +++ b/server/driver/wivrn_controller.cpp @@ -472,8 +472,6 @@ static xrt_binding_profile wivrn_binding_profiles[] = { }, }; -static void wivrn_controller_destroy(xrt_device * xdev) {}; - namespace { struct xrt_space_relation_csv_header @@ -548,7 +546,7 @@ wivrn_controller::wivrn_controller(int hand_id, .get_tracked_pose = method_pointer<&wivrn_controller::get_tracked_pose>, .get_hand_tracking = method_pointer<&wivrn_controller::get_hand_tracking>, .set_output = method_pointer<&wivrn_controller::set_output>, - .destroy = wivrn_controller_destroy, + .destroy = [](xrt_device *) {}, }, grip(hand_id == 0 ? device_id::LEFT_GRIP : device_id::RIGHT_GRIP), aim(hand_id == 0 ? device_id::LEFT_AIM : device_id::RIGHT_AIM),