fix -Werror,-Wunused-function
Change-Id: Idb339471edf9f80f779b50a124098ab056d1a2fc
This commit is contained in:
parent
d7ff0b0bb2
commit
56fd92b4eb
1 changed files with 2 additions and 0 deletions
|
@ -195,6 +195,7 @@ static int careerSpanMs = 0;
|
|||
namespace
|
||||
{
|
||||
|
||||
#if ENABLE_SUPPORT_KEY
|
||||
inline void shutdownLimitReached(WebSocketHandler& ws)
|
||||
{
|
||||
const std::string error = Poco::format(PAYLOAD_UNAVAILABLE_LIMIT_REACHED, LOOLWSD::MaxDocuments, LOOLWSD::MaxConnections);
|
||||
|
@ -213,6 +214,7 @@ inline void shutdownLimitReached(WebSocketHandler& ws)
|
|||
LOG_ERR("Error while shuting down socket on reaching limit: " << ex.what());
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
inline void infoLimitReached(const WebSocketHandler* ws)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue