From a3c2009a483aa9b46e946866067b63f5cbbd8c80 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Fri, 24 Jun 2016 21:05:54 -0400 Subject: [PATCH] Fix GCC 4.8 Thanks Drake --- indra/llui/ailist.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/llui/ailist.h b/indra/llui/ailist.h index c528227ba..1511fef2e 100644 --- a/indra/llui/ailist.h +++ b/indra/llui/ailist.h @@ -253,7 +253,11 @@ class AIConstListIterator { typedef AIConstListIterator _Self; typedef std::list > _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 iterator; _Container const* mContainer;