Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msg/AsyncConnection: add const to mem functions #10302

Merged
merged 1 commit into from Sep 9, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/msg/async/AsyncConnection.h
Expand Up @@ -97,7 +97,7 @@ class AsyncConnection : public Connection {
state = STATE_ACCEPTING_WAIT_CONNECT_MSG;
return 0;
}
bool is_queued() {
bool is_queued() const {
return !out_q.empty() || outcoming_bl.length();
}
void shutdown_socket() {
Expand Down Expand Up @@ -130,7 +130,7 @@ class AsyncConnection : public Connection {
}
return m;
}
bool _has_next_outgoing() {
bool _has_next_outgoing() const {
return !out_q.empty();
}
void reset_recv_state();
Expand Down