diff --git a/Includes/Http.h b/Includes/Http.h index ebb0db4..2071e03 100644 --- a/Includes/Http.h +++ b/Includes/Http.h @@ -82,6 +82,10 @@ inline uint32_t operator|(HttpMethod lhs, HttpMethod rhs) { return static_cast(lhs) | static_cast(rhs); } +inline uint32_t operator|(uint32_t lhs, HttpMethod rhs) { + return lhs | static_cast(rhs); +} + inline bool operator&(const uint32_t lhs, HttpMethod rhs) { return lhs & static_cast(rhs); }