Skip to content

Commit

Permalink
Update common.h
Browse files Browse the repository at this point in the history
Fixed extra {
  • Loading branch information
beached authored Apr 4, 2022
1 parent 338b59f commit dcbb8a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/crow/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ namespace crow

// clang-format off
#ifndef CROW_MSVC_WORKAROUND
constexpr crow::HTTPMethod method_from_string(const char* str) {
constexpr crow::HTTPMethod method_from_string(const char* str)
{
return crow::black_magic::is_equ_p(str, "GET", 3) ? crow::HTTPMethod::Get :
crow::black_magic::is_equ_p(str, "DELETE", 6) ? crow::HTTPMethod::Delete :
Expand Down

0 comments on commit dcbb8a1

Please sign in to comment.