Skip to content

Commit 3533503

Browse files
authored
Fix explicit constructor warning (#1614)
1 parent 82acdca commit 3533503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

httplib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5275,7 +5275,7 @@ inline PathParamsMatcher::PathParamsMatcher(const std::string &pattern) {
52755275
}
52765276

52775277
inline bool PathParamsMatcher::match(Request &request) const {
5278-
request.matches = {};
5278+
request.matches = std::smatch();
52795279
request.path_params.clear();
52805280
request.path_params.reserve(param_names_.size());
52815281

0 commit comments

Comments
 (0)