Преглед на файлове

Attempt to fix macOS compilation.

Miku AuahDark преди 3 години
родител
ревизия
afce1cceb5
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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)
 {