Permalink
Browse files

Fix GCC 4.8

Thanks Drake
  • Loading branch information...
1 parent 95f56f0 commit a3c2009a483aa9b46e946866067b63f5cbbd8c80 @Lirusaito Lirusaito committed Jun 25, 2016
Showing with 4 additions and 0 deletions.
  1. +4 −0 indra/llui/ailist.h
View
@@ -253,7 +253,11 @@ class AIConstListIterator {
typedef AIConstListIterator<T> _Self;
typedef std::list<AINode<T> > _Container;
typedef typename _Container::iterator _Iterator;
+#if LL_LINUX && GCC_VERSION <= 40899
+ typedef _Iterator _ConstIterator;
+#else
typedef typename _Container::const_iterator _ConstIterator;
+#endif
typedef AIListIterator<T> iterator;
_Container const* mContainer;

0 comments on commit a3c2009

Please sign in to comment.