Skip to content

Commit

Permalink
Remove unused RDBufStream type
Browse files Browse the repository at this point in the history
  • Loading branch information
horenmar committed Apr 12, 2022
1 parent f25236f commit d698776
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/catch2/catch_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down

0 comments on commit d698776

Please sign in to comment.