From 1e316a9704d07fc92a1f3ae4ffc209f7ffca2359 Mon Sep 17 00:00:00 2001 From: DS Date: Sat, 17 Feb 2024 18:36:20 +0100 Subject: [PATCH] Don't use a reference for RaycastState::m_pointabilities (#14376) --- src/raycast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raycast.h b/src/raycast.h index d33f13c9871e..ea366f80b534 100644 --- a/src/raycast.h +++ b/src/raycast.h @@ -55,7 +55,7 @@ class RaycastState bool m_objects_pointable; bool m_liquids_pointable; - const std::optional &m_pointabilities; + const std::optional m_pointabilities; //! The code needs to search these nodes around the center node. core::aabbox3d m_search_range { 0, 0, 0, 0, 0, 0 };