Skip to content

Commit 3a65581

Browse files
committed
drop an old impl
1 parent 6451412 commit 3a65581

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

src/lib_json/json_writer.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -947,24 +947,6 @@ StreamWriter::StreamWriter(std::ostream* sout)
947947
StreamWriter::~StreamWriter()
948948
{
949949
}
950-
struct MyStreamWriter : public StreamWriter {
951-
public:
952-
MyStreamWriter(std::ostream* sout);
953-
virtual ~MyStreamWriter();
954-
virtual int write(Value const& root) = 0;
955-
};
956-
MyStreamWriter::MyStreamWriter(std::ostream* sout)
957-
: StreamWriter(sout)
958-
{
959-
}
960-
MyStreamWriter::~MyStreamWriter()
961-
{
962-
}
963-
int MyStreamWriter::write(Value const& root)
964-
{
965-
sout_ << root;
966-
return 0;
967-
}
968950
StreamWriter::Factory::~Factory()
969951
{}
970952
StreamWriterBuilder::StreamWriterBuilder()

0 commit comments

Comments
 (0)