From 255800310693f75c8ae3a216153b311ae9a0e247 Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Tue, 29 Sep 2020 11:27:29 +0200 Subject: [PATCH] Fix embarrassing build errors --- src/QueryParser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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