Commit bae2dccf authored by Sergey Doroshenko's avatar Sergey Doroshenko Committed by Jordan DeLong

Make AsyncIO::capacity_ const

Summary: It is set once, and is never changed afterwards.

Test Plan: compiled, unit tests

Reviewed By: tudorb@fb.com

FB internal diff: D706125
parent a449e4aa
......@@ -167,7 +167,7 @@ class AsyncIO : private boost::noncopyable {
io_context_t ctx_;
size_t pending_;
size_t capacity_;
const size_t capacity_;
int pollFd_;
std::vector<Op*> completed_;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment