Fix embarrassing build errors
This commit is contained in:
+2
-2
@@ -25,7 +25,7 @@
|
|||||||
namespace uWS {
|
namespace uWS {
|
||||||
|
|
||||||
/* Takes raw query including initial '?' sign. Will inplace decode, so input will mutate */
|
/* 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 */
|
/* Can't have a value without a key */
|
||||||
if (!key.length()) {
|
if (!key.length()) {
|
||||||
@@ -117,4 +117,4 @@ namespace uWS {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user