Permalink
Browse files

STMClient::still_connecting: Make const

Found by cppcheck.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>

Closes #390.
  • Loading branch information...
1 parent 64f7f7a commit a54e6d1661602499c48150fa18b2c6a68f9884ae @andersk andersk committed with keithw Feb 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/frontend/stmclient.h
View
@@ -68,7 +68,7 @@ class STMClient {
void output_new_frame( void );
- bool still_connecting( void )
+ bool still_connecting( void ) const
{
/* Initially, network == NULL */
return network && ( network->get_remote_state_num() == 0 );

0 comments on commit a54e6d1

Please sign in to comment.