diff --git a/src/WebSocketExtensions.h b/src/WebSocketExtensions.h index f94d175..93fd5df 100644 --- a/src/WebSocketExtensions.h +++ b/src/WebSocketExtensions.h @@ -141,7 +141,7 @@ public: }; /* Takes what we (the server) wants, returns what we got */ -std::tuple negotiateCompression(bool wantCompression, int wantedCompressionWindow, int wantedInflationWindow, std::string_view offer) { +static inline std::tuple negotiateCompression(bool wantCompression, int wantedCompressionWindow, int wantedInflationWindow, std::string_view offer) { /* If we don't want compression then we are done here */ if (!wantCompression) {