added nodiscard

This commit is contained in:
2026-03-03 09:38:05 +03:00
parent 2dafc8a49d
commit 68f4c8cc72

View File

@@ -42,10 +42,12 @@ namespace omath::collision
m_mesh.set_origin(new_origin); m_mesh.set_origin(new_origin);
} }
[[nodiscard]]
const MeshType& get_mesh() const const MeshType& get_mesh() const
{ {
return m_mesh; return m_mesh;
} }
[[nodiscard]]
MeshType& get_mesh() MeshType& get_mesh()
{ {
return m_mesh; return m_mesh;