From e161da45e08a2eaaec747a784020d69f8223418d Mon Sep 17 00:00:00 2001 From: ipknHama Date: Sat, 27 Aug 2016 18:03:49 +0900 Subject: Remove warnings: manually applying #101, #104 --- include/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/common.h') diff --git a/include/common.h b/include/common.h index fe6db93..8203378 100644 --- a/include/common.h +++ b/include/common.h @@ -121,7 +121,7 @@ namespace crow } #ifndef CROW_MSVC_WORKAROUND -constexpr crow::HTTPMethod operator "" _method(const char* str, size_t len) +constexpr crow::HTTPMethod operator "" _method(const char* str, size_t /*len*/) { return crow::black_magic::is_equ_p(str, "GET", 3) ? crow::HTTPMethod::Get : @@ -133,5 +133,5 @@ constexpr crow::HTTPMethod operator "" _method(const char* str, size_t len) crow::black_magic::is_equ_p(str, "CONNECT", 7) ? crow::HTTPMethod::Connect : crow::black_magic::is_equ_p(str, "TRACE", 5) ? crow::HTTPMethod::Trace : throw std::runtime_error("invalid http method"); -}; +} #endif -- cgit v1.2.3-54-g00ecf