diff --git a/ixwebsocket/IXConnectionState.cpp b/ixwebsocket/IXConnectionState.cpp index 717d7485..82c64e73 100644 --- a/ixwebsocket/IXConnectionState.cpp +++ b/ixwebsocket/IXConnectionState.cpp @@ -35,7 +35,7 @@ namespace ix return _terminated; } - bool ConnectionState::setTerminated() + void ConnectionState::setTerminated() { _terminated = true; } diff --git a/ixwebsocket/IXConnectionState.h b/ixwebsocket/IXConnectionState.h index d76df5d9..e9b1affc 100644 --- a/ixwebsocket/IXConnectionState.h +++ b/ixwebsocket/IXConnectionState.h @@ -21,7 +21,7 @@ namespace ix virtual void computeId(); virtual const std::string& getId() const; - bool setTerminated(); + void setTerminated(); bool isTerminated() const; static std::shared_ptr createConnectionState();