diff options
Diffstat (limited to 'src/binary-reader-logging.cc')
-rw-r--r-- | src/binary-reader-logging.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/binary-reader-logging.cc b/src/binary-reader-logging.cc index 335b24c1..6cdc7ad5 100644 --- a/src/binary-reader-logging.cc +++ b/src/binary-reader-logging.cc @@ -48,7 +48,8 @@ void sprint_limits(char* dst, size_t size, const Limits* limits) { } // namespace -BinaryReaderLogging::BinaryReaderLogging(Stream* stream, BinaryReader* forward) +BinaryReaderLogging::BinaryReaderLogging(Stream* stream, + BinaryReaderDelegate* forward) : stream(stream), reader(forward), indent(0) {} void BinaryReaderLogging::Indent() { @@ -90,7 +91,7 @@ bool BinaryReaderLogging::OnError(const char* message) { } void BinaryReaderLogging::OnSetState(const State* s) { - BinaryReader::OnSetState(s); + BinaryReaderDelegate::OnSetState(s); reader->OnSetState(s); } |