mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 17:28:29 +00:00
Fix explicit constructor warning (#1614)
This commit is contained in:
parent
82acdca638
commit
3533503323
1 changed files with 1 additions and 1 deletions
|
@ -5275,7 +5275,7 @@ inline PathParamsMatcher::PathParamsMatcher(const std::string &pattern) {
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool PathParamsMatcher::match(Request &request) const {
|
inline bool PathParamsMatcher::match(Request &request) const {
|
||||||
request.matches = {};
|
request.matches = std::smatch();
|
||||||
request.path_params.clear();
|
request.path_params.clear();
|
||||||
request.path_params.reserve(param_names_.size());
|
request.path_params.reserve(param_names_.size());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue