From 310122ff8bc2f1a0f2ec62e59fd893ede8f79df0 Mon Sep 17 00:00:00 2001 From: Nicky Date: Thu, 5 Apr 2018 21:46:23 +0200 Subject: [PATCH] More changed for gcc. - Need to include lltimer.h for ms_sleep - Fix typo in LLThreadSafeQueue::popBack. visual Studio did not care as method never is instantiated. --- indra/llcommon/llthreadsafequeue.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/llcommon/llthreadsafequeue.h b/indra/llcommon/llthreadsafequeue.h index ca06eee110..01109b2b27 100644 --- a/indra/llcommon/llthreadsafequeue.h +++ b/indra/llcommon/llthreadsafequeue.h @@ -29,6 +29,7 @@ #include "llexception.h" #include "llmutex.h" +#include "lltimer.h" #include #include @@ -165,7 +166,7 @@ ElementT LLThreadSafeQueue::popBack(void) { ElementT value = mStorage.back(); mStorage.pop_back(); - return val; + return value; } } ms_sleep( 100 );