Skip to content
Snippets Groups Projects
Commit 78e9fb26 authored by Brad Payne (Vir Linden)'s avatar Brad Payne (Vir Linden)
Browse files

SL-315 - disable call stack dumping in release, where we don't have the info anyway.

parent 0447fe5a
No related branches found
No related tags found
No related merge requests found
...@@ -104,11 +104,15 @@ bool LLCallStack::contains(const std::string& str) ...@@ -104,11 +104,15 @@ bool LLCallStack::contains(const std::string& str)
std::ostream& operator<<(std::ostream& s, const LLCallStack& call_stack) std::ostream& operator<<(std::ostream& s, const LLCallStack& call_stack)
{ {
#ifndef LL_RELEASE_FOR_DOWNLOAD
std::vector<std::string>::const_iterator it; std::vector<std::string>::const_iterator it;
for (it=call_stack.m_strings.begin(); it!=call_stack.m_strings.end(); ++it) for (it=call_stack.m_strings.begin(); it!=call_stack.m_strings.end(); ++it)
{ {
s << *it; s << *it;
} }
#else
s << "UNAVAILABLE IN RELEASE";
#endif
return s; return s;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment