Fix GCC 4.8
Thanks Drake
This commit is contained in:
@@ -253,7 +253,11 @@ class AIConstListIterator {
|
|||||||
typedef AIConstListIterator<T> _Self;
|
typedef AIConstListIterator<T> _Self;
|
||||||
typedef std::list<AINode<T> > _Container;
|
typedef std::list<AINode<T> > _Container;
|
||||||
typedef typename _Container::iterator _Iterator;
|
typedef typename _Container::iterator _Iterator;
|
||||||
|
#if LL_LINUX && GCC_VERSION <= 40899
|
||||||
|
typedef _Iterator _ConstIterator;
|
||||||
|
#else
|
||||||
typedef typename _Container::const_iterator _ConstIterator;
|
typedef typename _Container::const_iterator _ConstIterator;
|
||||||
|
#endif
|
||||||
typedef AIListIterator<T> iterator;
|
typedef AIListIterator<T> iterator;
|
||||||
|
|
||||||
_Container const* mContainer;
|
_Container const* mContainer;
|
||||||
|
|||||||
Reference in New Issue
Block a user