diff options
| author | Martin Hořeňovský | 2022-04-12 22:22:04 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-04-12 22:22:04 +0200 |
| commit | d698776ec55e40284d3d78632de481a7ed9a5f2e (patch) | |
| tree | 91382a306f9ad7e9b5a4fc257474049a0735eee4 /src | |
| parent | f25236ff430d98b3cba5495cc68235d1d7701b98 (diff) | |
| download | catch3-d698776ec55e40284d3d78632de481a7ed9a5f2e.tar.gz | |
Remove unused RDBufStream type
Diffstat (limited to 'src')
| -rw-r--r-- | src/catch2/catch_config.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/catch2/catch_config.cpp b/src/catch2/catch_config.cpp index 913dbb4c..394ad8fe 100644 --- a/src/catch2/catch_config.cpp +++ b/src/catch2/catch_config.cpp @@ -17,21 +17,6 @@ #include <ostream> 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 ): m_data( data ) { |