DRTVWR-558: Allow directly streaming test helper class CaptureLog.
(cherry picked from commit 374eb409b98795158b36e232f670d1302f31b9ff)master
parent
2f39489f2c
commit
8e61a8f7c0
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue