diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2018-06-14 18:20:55 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2018-06-14 18:20:55 -0400 |
commit | 4dba69b04ab9825f1cd4b8dbf855494a3897ffd7 (patch) | |
tree | 2f3a5324daf25ccea323ce5caa8dc238b6e37bbe /indra/llcommon/tests | |
parent | 9b7640d70ae820a954634ecf0dae43dfb33c0d3a (diff) | |
parent | 67f6625c56406604197507c842496f031eb0986f (diff) |
Automated merge with file:///Users/nat/linden/viewer-no-vstool
Diffstat (limited to 'indra/llcommon/tests')
-rw-r--r-- | indra/llcommon/tests/wrapllerrs.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/indra/llcommon/tests/wrapllerrs.h b/indra/llcommon/tests/wrapllerrs.h index 9a4bbbd630..08fbf19b1c 100644 --- a/indra/llcommon/tests/wrapllerrs.h +++ b/indra/llcommon/tests/wrapllerrs.h @@ -109,6 +109,12 @@ public: mMessages.push_back(message); } + friend inline + std::ostream& operator<<(std::ostream& out, const CaptureLogRecorder& log) + { + return log.streamto(out); + } + /// Don't assume the message we want is necessarily the LAST log message /// emitted by the underlying code; search backwards through all messages /// for the sought string. @@ -126,7 +132,7 @@ public: throw tut::failure(STRINGIZE("failed to find '" << search << "' in captured log messages:\n" - << boost::ref(*this))); + << *this)); } std::ostream& streamto(std::ostream& out) const @@ -200,10 +206,4 @@ private: LLError::RecorderPtr mRecorder; }; -inline -std::ostream& operator<<(std::ostream& out, const CaptureLogRecorder& log) -{ - return log.streamto(out); -} - #endif /* ! defined(LL_WRAPLLERRS_H) */ |