diff --git a/src/xrAICore/Navigation/PathManagers/path_manager_game_vertex.h b/src/xrAICore/Navigation/PathManagers/path_manager_game_vertex.h index 786f821d528..89802cab316 100644 --- a/src/xrAICore/Navigation/PathManagers/path_manager_game_vertex.h +++ b/src/xrAICore/Navigation/PathManagers/path_manager_game_vertex.h @@ -18,11 +18,10 @@ class CPathManager { protected: - typedef CGameGraph _Graph; - typedef SGameVertex<_dist_type, _index_type, _iteration_type> _Parameters; - typedef typename CPathManager<_Graph, _DataStorage, SBaseParameters<_dist_type, _index_type, _iteration_type>, - _dist_type, _index_type, _iteration_type> - inherited; + using _Graph = CGameGraph; + using _Parameters = SGameVertex<_dist_type, _index_type, _iteration_type>; + using inherited = CPathManager<_Graph, _DataStorage, SBaseParameters<_dist_type, _index_type, _iteration_type>, + _dist_type, _index_type, _iteration_type>; protected: _Parameters* m_evaluator; diff --git a/src/xrAICore/Navigation/PathManagers/path_manager_level_nearest_vertex.h b/src/xrAICore/Navigation/PathManagers/path_manager_level_nearest_vertex.h index 4d806fb6957..820b01677d7 100644 --- a/src/xrAICore/Navigation/PathManagers/path_manager_level_nearest_vertex.h +++ b/src/xrAICore/Navigation/PathManagers/path_manager_level_nearest_vertex.h @@ -17,11 +17,10 @@ class CPathManager { protected: - typedef CLevelGraph _Graph; - typedef SNearestVertex<_dist_type, _index_type, _iteration_type> _Parameters; - typedef typename CPathManager<_Graph, _DataStorage, SBaseParameters<_dist_type, _index_type, _iteration_type>, - _dist_type, _index_type, _iteration_type> - inherited; + using _Graph = CLevelGraph; + using _Parameters = SNearestVertex<_dist_type, _index_type, _iteration_type>; + using inherited = CPathManager<_Graph, _DataStorage, SBaseParameters<_dist_type, _index_type, + _iteration_type>, _dist_type, _index_type, _iteration_type>; protected: int x0, y0;