From 43373451039c33c69482612fc3e04a78a87c3fca Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant <“bsergean@gmail.com”> Date: Wed, 17 Apr 2019 20:35:00 -0700 Subject: [PATCH] setter method does not need to return anything, make it void --- ixwebsocket/IXConnectionState.cpp | 2 +- ixwebsocket/IXConnectionState.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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();