diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2019-12-06 15:04:11 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2020-03-25 15:28:17 -0400 |
commit | 2506fd78824d92e512931d4bc2ff5cef4fc8c9c6 (patch) | |
tree | 04519270784466e3704c3ba54b7c42df29ca5f93 /indra/llcommon/llinstancetracker.cpp | |
parent | ba8fe9b483aaa59e724cdbfa183c69ee5998dc1f (diff) |
DRTVWR-494: Move LL_ERRS out of llinstancetracker.h header file.
Add a namespaced free function in .cpp file to report LL_ERRS as needed.
Per code review, use a more indicative namespace name.
Diffstat (limited to 'indra/llcommon/llinstancetracker.cpp')
-rw-r--r-- | indra/llcommon/llinstancetracker.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/indra/llcommon/llinstancetracker.cpp b/indra/llcommon/llinstancetracker.cpp index accb4286e8..e7193b70b5 100644 --- a/indra/llcommon/llinstancetracker.cpp +++ b/indra/llcommon/llinstancetracker.cpp @@ -27,12 +27,15 @@ #include "linden_common.h" // associated header #include "llinstancetracker.h" -#include "llapr.h" - +#include "llerror.h" // STL headers // std headers // external library headers // other Linden headers -// This .cpp file is required by our CMake test macro. It contributes no code -// to the viewer. +void LLInstanceTrackerPrivate::logerrs(const char* cls, const std::string& arg1, + const std::string& arg2, const std::string& arg3) +{ + LL_ERRS("LLInstanceTracker") << LLError::Log::demangle(cls) + << arg1 << arg2 << arg3 << LL_ENDL; +} |