mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Remove unused RDBufStream type
This commit is contained in:
parent
f25236ff43
commit
d698776ec5
@ -17,21 +17,6 @@
|
|||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|
||||||
namespace Catch {
|
namespace Catch {
|
||||||
namespace Detail {
|
|
||||||
namespace {
|
|
||||||
class RDBufStream : public IStream {
|
|
||||||
mutable std::ostream m_os;
|
|
||||||
|
|
||||||
public:
|
|
||||||
//! The streambuf `sb` must outlive the constructed object.
|
|
||||||
RDBufStream( std::streambuf* sb ): m_os( sb ) {}
|
|
||||||
~RDBufStream() override = default;
|
|
||||||
|
|
||||||
public: // IStream
|
|
||||||
std::ostream& stream() const override { return m_os; }
|
|
||||||
};
|
|
||||||
} // unnamed namespace
|
|
||||||
} // namespace Detail
|
|
||||||
|
|
||||||
Config::Config( ConfigData const& data ):
|
Config::Config( ConfigData const& data ):
|
||||||
m_data( data ) {
|
m_data( data ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user