Fixed compilation with MSVC.

This commit is contained in:
Patrick 2024-10-25 09:40:53 +02:00
parent 6f7d518ca7
commit c36fc2d6ed

View File

@ -18,11 +18,11 @@ namespace mijin
{ {
namespace http_method namespace http_method
{ {
inline constexpr std::string GET = "GET"; inline const std::string GET = "GET";
inline constexpr std::string POST = "POST"; inline const std::string POST = "POST";
inline constexpr std::string HEAD = "HEAD"; inline const std::string HEAD = "HEAD";
inline constexpr std::string PUT = "PUT"; inline const std::string PUT = "PUT";
inline constexpr std::string DELETE = "DELETE"; inline const std::string DELETE = "DELETE";
} }
struct HTTPVersion struct HTTPVersion