diff options
Diffstat (limited to 'src/binary-reader-logging.cc')
-rw-r--r-- | src/binary-reader-logging.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/binary-reader-logging.cc b/src/binary-reader-logging.cc index 8010aac5..7edebdd1 100644 --- a/src/binary-reader-logging.cc +++ b/src/binary-reader-logging.cc @@ -99,8 +99,8 @@ void BinaryReaderLogging::LogTypes(TypeVector& types) { LogTypes(types.size(), types.data()); } -bool BinaryReaderLogging::OnError(ErrorLevel error_level, const char* message) { - return reader_->OnError(error_level, message); +bool BinaryReaderLogging::OnError(const Error& error) { + return reader_->OnError(error); } void BinaryReaderLogging::OnSetState(const State* s) { |