Skip to content

Commit

Permalink
Remove unnecesary typenames GCC doesn't like
Browse files Browse the repository at this point in the history
  • Loading branch information
Zegeri committed Sep 16, 2018
1 parent 24f6bc3 commit 9c84cce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ class CPathManager<CGameGraph, _DataStorage, SGameVertex<_dist_type, _index_type
_dist_type, _index_type, _iteration_type>
{
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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ class CPathManager<CLevelGraph, _DataStorage, SNearestVertex<_dist_type, _index_
_dist_type, _index_type, _iteration_type>
{
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;
Expand Down

0 comments on commit 9c84cce

Please sign in to comment.