浏览代码

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)
 {