diff --git a/src/QueryParser.h b/src/QueryParser.h index c5f67f7..457bd02 100644 --- a/src/QueryParser.h +++ b/src/QueryParser.h @@ -25,7 +25,7 @@ namespace uWS { /* Takes raw query including initial '?' sign. Will inplace decode, so input will mutate */ - std::string_view getDecodedQueryValue(std::string_view key, std::string_view rawQuery) { + static inline std::string_view getDecodedQueryValue(std::string_view key, std::string_view rawQuery) { /* Can't have a value without a key */ if (!key.length()) { @@ -117,4 +117,4 @@ namespace uWS { } -#endif \ No newline at end of file +#endif