Skip to content

Commit

Permalink
Merge pull request facebook#80 from cockroachdb/knz/clang-10-patch3
Browse files Browse the repository at this point in the history
util/channel.h: remove an invalid const specifier
  • Loading branch information
knz authored Apr 6, 2020
2 parents 945c48f + 540c110 commit 3d204c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class channel {
return buffer_.empty() && eof_;
}

size_t size() const {
size_t size() {
std::lock_guard<std::mutex> lk(lock_);
return buffer_.size();
}
Expand Down

0 comments on commit 3d204c1

Please sign in to comment.