Don't use a reference for RaycastState::m_pointabilities (#14376)

This commit is contained in:
DS 2024-02-17 18:36:20 +01:00 committed by GitHub
parent 6ca214fefc
commit 1e316a9704
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ public:
bool m_objects_pointable;
bool m_liquids_pointable;
const std::optional<Pointabilities> &m_pointabilities;
const std::optional<Pointabilities> m_pointabilities;
//! The code needs to search these nodes around the center node.
core::aabbox3d<s16> m_search_range { 0, 0, 0, 0, 0, 0 };