Fix explicit constructor warning (#1614)

This commit is contained in:
bgs99 2023-07-07 20:17:19 +03:00 committed by GitHub
parent 82acdca638
commit 3533503323
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5275,7 +5275,7 @@ inline PathParamsMatcher::PathParamsMatcher(const std::string &pattern) {
}
inline bool PathParamsMatcher::match(Request &request) const {
request.matches = {};
request.matches = std::smatch();
request.path_params.clear();
request.path_params.reserve(param_names_.size());