Skip to content

Commit

Permalink
Make Tell overrides in arrow-glib const
Browse files Browse the repository at this point in the history
Change-Id: I7acd582f4f4ea3dba28ecd4ddb2d19c0101d2409
  • Loading branch information
wesm committed Aug 22, 2017
1 parent 5daa59e commit 415157a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion c_glib/arrow-glib/input-stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ namespace garrow {
}
}

arrow::Status Tell(int64_t *position) override {
arrow::Status Tell(int64_t *position) const override {
if (!G_IS_SEEKABLE(input_stream_)) {
std::string message("[gio-input-stream][tell] "
"not seekable input stream: <");
Expand Down
2 changes: 1 addition & 1 deletion c_glib/arrow-glib/output-stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ namespace garrow {
}
}

arrow::Status Tell(int64_t *position) override {
arrow::Status Tell(int64_t *position) const override {
if (!G_IS_SEEKABLE(output_stream_)) {
std::string message("[gio-output-stream][tell] "
"not seekable output stream: <");
Expand Down

0 comments on commit 415157a

Please sign in to comment.