Skip to content

Commit 37fd556

Browse files
q4aeagleivg
authored andcommitted
Revert "xrAICore: Fix hash_fixed_vertex_manager::to_u32 by forward declaring"
This reverts commit 8780745.
1 parent b4add92 commit 37fd556

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/xrAICore/Navigation/vertex_manager_hash_fixed_inline.h

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@
88

99
#pragma once
1010

11-
namespace hash_fixed_vertex_manager
12-
{
13-
u32 to_u32(const GraphEngineSpace::CWorldState&);
14-
u32 to_u32(const shared_str&);
15-
}
16-
1711
#define TEMPLATE_SPECIALIZATION \
1812
template <typename TPathId, typename TIndex, u32 HashSize, u32 FixSize> \
1913
template <typename TPathBuilder, typename TVertexAllocator, typename TCompoundVertex>
@@ -73,7 +67,11 @@ inline bool CHashFixedVertexManager::is_opened(const Vertex& vertex) const { ret
7367
TEMPLATE_SPECIALIZATION
7468
inline u32 CHashFixedVertexManager::hash_index(const Index& vertex_id) const
7569
{
70+
#ifdef LINUX // FIXME!!
71+
return 0;
72+
#else
7673
return hash_fixed_vertex_manager::to_u32(vertex_id) % HashSize;
74+
#endif
7775
}
7876

7977
TEMPLATE_SPECIALIZATION

0 commit comments

Comments
 (0)