Quellcode durchsuchen

Attempt to fix macOS compilation.

Miku AuahDark vor 3 Jahren
Ursprung
Commit
afce1cceb5
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/lua/main.cpp

+ 1 - 1
src/lua/main.cpp

@@ -10,7 +10,7 @@ extern "C"
 #include "../common/HTTPS.h"
 #include "../common/config.h"
 
-static std::set<std::string> validMethod = {"GET", "HEAD", "POST", "PUT", "DELETE", "PATCH"};
+static std::set<std::string> validMethod {"GET", "HEAD", "POST", "PUT", "DELETE", "PATCH"};
 
 static std::string w_checkstring(lua_State *L, int idx)
 {