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 Jul 14, 2016
1 parent 6785393 commit c6b9419
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/msg/async/AsyncConnection.h
Expand Up @@ -99,7 +99,7 @@ class AsyncConnection : public Connection {
state = STATE_ACCEPTING_WAIT_CONNECT_MSG;
return 0;
}
bool is_queued() {
bool is_queued() const {
assert(write_lock.is_locked());
return !out_q.empty() || outcoming_bl.length();
}
Expand Down Expand Up @@ -135,7 +135,7 @@ class AsyncConnection : public Connection {
}
return m;
}
bool _has_next_outgoing() {
bool _has_next_outgoing() const {
assert(write_lock.is_locked());
return !out_q.empty();
}
Expand Down

0 comments on commit c6b9419

Please sign in to comment.