summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Kaseorg <andersk@mit.edu>2013-02-18 02:44:59 -0500
committerKeith Winstein <keithw@mit.edu>2013-03-10 15:48:12 -0400
commita54e6d1661602499c48150fa18b2c6a68f9884ae (patch)
tree78481f2297bebd33cfdffa4e885a83547293abd7
parent64f7f7abb215649657b0625604288e7cb99aa3bd (diff)
STMClient::still_connecting: Make const
Found by cppcheck. Signed-off-by: Anders Kaseorg <andersk@mit.edu> Closes #390.
-rw-r--r--src/frontend/stmclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/stmclient.h b/src/frontend/stmclient.h
index 0b79991..51150c6 100644
--- a/src/frontend/stmclient.h
+++ b/src/frontend/stmclient.h
@@ -68,7 +68,7 @@ private:
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 );