Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Commit 3533503

Browse files
authoredJul 7, 2023
Fix explicit constructor warning (yhirose#1614)
1 parent 82acdca commit 3533503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎httplib.h

+1-1
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)