Skip to content

Commit

Permalink
protobuf related change
Browse files Browse the repository at this point in the history
  • Loading branch information
mortbopet committed Oct 10, 2024
1 parent 6b2aea1 commit fb8b7cd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/substrait/textplan/converter/LoadBinary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ namespace {

class StringErrorCollector : public google::protobuf::io::ErrorCollector {
public:
void AddError(int line, int column, const std::string& message) override {
void RecordError(
int line,
google::protobuf::io::ColumnNumber column,
absl::string_view message) override {
errors_.push_back(
std::to_string(line + 1) + ":" + std::to_string(column + 1) + "" +
message);
std::string(message));
}

[[nodiscard]] std::vector<std::string> getErrors() const {
Expand Down

0 comments on commit fb8b7cd

Please sign in to comment.