diff --git a/src/xrAICore/Navigation/builder_allocator_constructor.h b/src/xrAICore/Navigation/builder_allocator_constructor.h index 1b2712cc085..e615bab2024 100644 --- a/src/xrAICore/Navigation/builder_allocator_constructor.h +++ b/src/xrAICore/Navigation/builder_allocator_constructor.h @@ -20,17 +20,19 @@ class BuilderAllocatorDataStorage : public: typedef typename _path_builder::template CDataStorage<_vertex> CDataStorageBase; typedef typename _vertex_allocator::template CDataStorage< - typename _path_builder::template CDataStorage< - _vertex - >::CGraphVertex - > CDataStorageAllocator; + typename _path_builder::template CDataStorage<_vertex>::CGraphVertex> CDataStorageAllocator; typedef typename CDataStorageBase::CGraphVertex CGraphVertex; typedef typename CGraphVertex::_index_type _index_type; public: - IC BuilderAllocatorDataStorage(const u32 vertex_count); - virtual ~BuilderAllocatorDataStorage(); - IC void init (); + BuilderAllocatorDataStorage(const u32 vertex_count) : + CDataStorageBase(vertex_count), + CDataStorageAllocator() + {} + virtual ~BuilderAllocatorDataStorage() {} + void init() + { + CDataStorageBase::init(); + CDataStorageAllocator::init(); + } }; - -#include "xrAICore/Navigation/builder_allocator_constructor_inline.h" \ No newline at end of file diff --git a/src/xrAICore/Navigation/builder_allocator_constructor_inline.h b/src/xrAICore/Navigation/builder_allocator_constructor_inline.h deleted file mode 100644 index 32d54cc1344..00000000000 --- a/src/xrAICore/Navigation/builder_allocator_constructor_inline.h +++ /dev/null @@ -1,36 +0,0 @@ -//////////////////////////////////////////////////////////////////////////// -// Module : builder_allocator_constructor_inline.h -// Created : 21.03.2002 -// Modified : 28.02.2004 -// Author : Dmitriy Iassenev -// Description : Builder allocator constructor inline functions -//////////////////////////////////////////////////////////////////////////// - -#pragma once - -#define TEMPLATE_SPECIALIZATION \ - template