summaryrefslogtreecommitdiff
path: root/indra/llcommon/tests
diff options
context:
space:
mode:
authorStinson Linden <stinson@lindenlab.com>2014-05-17 00:41:36 +0100
committerStinson Linden <stinson@lindenlab.com>2014-05-17 00:41:36 +0100
commit08e83a341e76de8fa4d8c4a974edbe3e0bd1c128 (patch)
tree0368213e6cc1248de2827f28b032fb4eb71fac06 /indra/llcommon/tests
parent34b2f2d1f841f7b7f93386d66be6943910cd055b (diff)
MAINT-4009: Final pass refactoring to eliminate memory allocation related to error reporting that is not properly cleaned up.
Diffstat (limited to 'indra/llcommon/tests')
-rwxr-xr-xindra/llcommon/tests/llerror_test.cpp2
-rwxr-xr-xindra/llcommon/tests/wrapllerrs.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/indra/llcommon/tests/llerror_test.cpp b/indra/llcommon/tests/llerror_test.cpp
index 6cecd6bbc8..a5aaff10c5 100755
--- a/indra/llcommon/tests/llerror_test.cpp
+++ b/indra/llcommon/tests/llerror_test.cpp
@@ -86,7 +86,7 @@ namespace tut
struct ErrorTestData
{
LLError::RecorderPtr mRecorder;
- LLError::Settings* mPriorErrorSettings;
+ LLError::SettingsStoragePtr mPriorErrorSettings;
ErrorTestData():
mRecorder(new TestRecorder())
diff --git a/indra/llcommon/tests/wrapllerrs.h b/indra/llcommon/tests/wrapllerrs.h
index 0a52844671..785197ba11 100755
--- a/indra/llcommon/tests/wrapllerrs.h
+++ b/indra/llcommon/tests/wrapllerrs.h
@@ -82,7 +82,7 @@ struct WrapLLErrs
}
std::string error;
- LLError::Settings* mPriorErrorSettings;
+ LLError::SettingsStoragePtr mPriorErrorSettings;
LLError::FatalFunction mPriorFatal;
};
@@ -196,7 +196,7 @@ public:
}
private:
- LLError::Settings* mOldSettings;
+ LLError::SettingsStoragePtr mOldSettings;
LLError::RecorderPtr mRecorder;
};