diff --git a/src/xrAICore/Navigation/vertex_manager_hash_fixed_inline.h b/src/xrAICore/Navigation/vertex_manager_hash_fixed_inline.h index 6f524262656..57532ac4b36 100644 --- a/src/xrAICore/Navigation/vertex_manager_hash_fixed_inline.h +++ b/src/xrAICore/Navigation/vertex_manager_hash_fixed_inline.h @@ -8,6 +8,12 @@ #pragma once +namespace hash_fixed_vertex_manager +{ +u32 to_u32(const GraphEngineSpace::CWorldState&); +u32 to_u32(const shared_str&); +} + #define TEMPLATE_SPECIALIZATION \ template \ template @@ -67,11 +73,7 @@ inline bool CHashFixedVertexManager::is_opened(const Vertex& vertex) const { ret TEMPLATE_SPECIALIZATION inline u32 CHashFixedVertexManager::hash_index(const Index& vertex_id) const { -#ifdef LINUX // FIXME!! - return 0; -#else return hash_fixed_vertex_manager::to_u32(vertex_id) % HashSize; -#endif } TEMPLATE_SPECIALIZATION