diff --git a/src/raycast.h b/src/raycast.h index d33f13c98..ea366f80b 100644 --- a/src/raycast.h +++ b/src/raycast.h @@ -55,7 +55,7 @@ public: 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 };