summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-01 12:31:25 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-01 12:31:25 +0000
commitef5cbcb0604cbffbb6c153a433411fedcf4e5831 (patch)
tree06ff2fa6856e43b37a78b2dfa64e56008ce91b5c /indra/llcommon
parent7e0a3ce7359a01ffa7776d86f279409225c3c2a7 (diff)
parentd2c2d3f58e8d150c993708cbf13fc584a557ced7 (diff)
Merge from viewer2.
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llerror.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llerror.h b/indra/llcommon/llerror.h
index 5a4c644859..09812de2b8 100644
--- a/indra/llcommon/llerror.h
+++ b/indra/llcommon/llerror.h
@@ -242,7 +242,7 @@ typedef LLError::NoClassInfo _LL_CLASS_TO_LOG;
do { \
static LLError::CallSite _site( \
level, __FILE__, __LINE__, typeid(_LL_CLASS_TO_LOG), __FUNCTION__, broadTag, narrowTag, once);\
- if (_site.shouldLog()) \
+ if (LL_UNLIKELY(_site.shouldLog())) \
{ \
std::ostringstream* _out = LLError::Log::out(); \
(*_out)