summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewerwin32.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2021-05-12 13:37:24 -0400
committerNat Goodspeed <nat@lindenlab.com>2021-05-12 13:37:24 -0400
commit91c20363eee4e1e02435e0ee74867cdb3f6c7136 (patch)
tree6e1cf0e3f427bce409fa12b966f8bfacf70c510d /indra/newview/llappviewerwin32.cpp
parent5b96ee0e10923a00ddb3836d4dc3c5f912ca4330 (diff)
SL-10297: Get rid of LLError::LLCallStacks::allocateStackBuffer().
Also freeStackBuffer() and all the funky classic-C string management of a big flat buffer divided into exactly 512 128-byte strings. Define StringVector as a std::vector<std::string>, and use that instead. Retain the behavior of clearing the vector if it exceeds 512 entries. This eliminates the LLError::Log::flush(const std::ostringstream&, char*) overload as well, with its baffling mix of std::string and classic-C (e.g. strlen(out.str().c_str()). If we absolutely MUST use a big memory pool for performance reasons, let's use StringVector with allocators.
Diffstat (limited to 'indra/newview/llappviewerwin32.cpp')
0 files changed, 0 insertions, 0 deletions