Skip to content

Commit

Permalink
msg/AsyncConnection: add const to mem functions
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
  • Loading branch information
stiopaa1 committed Sep 8, 2016
1 parent e2299fa commit 9a39504
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 9a39504

Please sign in to comment.