diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-04-21 10:55:08 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-04-21 10:55:08 -0400 |
commit | 78e9fb2614ce6bc72aad090baca63be7c673bd69 (patch) | |
tree | 0c51b8e6608d539041d0695b99c5606ed1d97a47 | |
parent | 0447fe5a57c2b3e0406fd28b665ea9f47d689b2f (diff) |
SL-315 - disable call stack dumping in release, where we don't have the info anyway.
-rw-r--r-- | indra/llcommon/llcallstack.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcommon/llcallstack.cpp b/indra/llcommon/llcallstack.cpp index 9978645ff4..8db291eed1 100644 --- a/indra/llcommon/llcallstack.cpp +++ b/indra/llcommon/llcallstack.cpp @@ -104,11 +104,15 @@ bool LLCallStack::contains(const std::string& str) std::ostream& operator<<(std::ostream& s, const LLCallStack& call_stack) { +#ifndef LL_RELEASE_FOR_DOWNLOAD std::vector<std::string>::const_iterator it; for (it=call_stack.m_strings.begin(); it!=call_stack.m_strings.end(); ++it) { s << *it; } +#else + s << "UNAVAILABLE IN RELEASE"; +#endif return s; } |