소스 검색

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