diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2023-01-06 17:06:39 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2023-07-13 12:47:58 -0400 |
commit | 8e61a8f7c0ebcc72a1c348e790eeb73b9388ccde (patch) | |
tree | 5a71fcc076f17fd0753420faa249b27ba753c943 /indra/llcommon | |
parent | 2f39489f2cdafed08c13d5011d9538b17e64d345 (diff) |
DRTVWR-558: Allow directly streaming test helper class CaptureLog.
(cherry picked from commit 374eb409b98795158b36e232f670d1302f31b9ff)
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/tests/wrapllerrs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llcommon/tests/wrapllerrs.h b/indra/llcommon/tests/wrapllerrs.h index 3779fb41bc..d657b329bb 100644 --- a/indra/llcommon/tests/wrapllerrs.h +++ b/indra/llcommon/tests/wrapllerrs.h @@ -226,6 +226,11 @@ public: return boost::dynamic_pointer_cast<CaptureLogRecorder>(mRecorder)->streamto(out); } + friend inline std::ostream& operator<<(std::ostream& out, const CaptureLog& self) + { + return self.streamto(out); + } + private: LLError::FatalFunction mFatalFunction; LLError::SettingsStoragePtr mOldSettings; |