diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2010-02-02 12:17:29 +0200 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2010-02-02 12:17:29 +0200 |
commit | 9b0518dd8e46dfe74eaa0f7622b1486dbde32b82 (patch) | |
tree | 2c637ad3b5a5cfa8ec1e97c30c3de9efe5cac59b /indra/llcommon/llerror.h | |
parent | 7f83000ea13bac5b4cccb9a6f12e764ac8d69b2a (diff) | |
parent | 4ad357ec70e15afdfe78816990cb23c7ba17619c (diff) |
Merge from default branch
--HG--
branch : product-engine
Diffstat (limited to 'indra/llcommon/llerror.h')
-rw-r--r-- | indra/llcommon/llerror.h | 2 |
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) |