diff --git a/lib/inc/drogon/utils/HttpConstraint.h b/lib/inc/drogon/utils/HttpConstraint.h index c2c7bb5a..c1af00f4 100644 --- a/lib/inc/drogon/utils/HttpConstraint.h +++ b/lib/inc/drogon/utils/HttpConstraint.h @@ -57,7 +57,7 @@ class HttpConstraint private: ConstraintType type_{ConstraintType::None}; - HttpMethod method_; + HttpMethod method_{HttpMethod::Invalid}; std::string filterName_; }; } // namespace internal