Skip to content

Commit 3d204c1

Browse files
authored
Merge pull request facebook#80 from cockroachdb/knz/clang-10-patch3
util/channel.h: remove an invalid const specifier
2 parents 945c48f + 540c110 commit 3d204c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/channel.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class channel {
3131
return buffer_.empty() && eof_;
3232
}
3333

34-
size_t size() const {
34+
size_t size() {
3535
std::lock_guard<std::mutex> lk(lock_);
3636
return buffer_.size();
3737
}

0 commit comments

Comments
 (0)