Skip to content

Commit

Permalink
Fix C++11 build
Browse files Browse the repository at this point in the history
  • Loading branch information
bgs99 committed Sep 6, 2024
1 parent 74643c8 commit 15f8216
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions httplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -5887,6 +5887,8 @@ inline socket_t BufferStream::socket() const { return 0; }
inline const std::string &BufferStream::get_buffer() const { return buffer; }

inline PathParamsMatcher::PathParamsMatcher(const std::string &pattern) {
static constexpr char marker[] = "/:";

// One past the last ending position of a path param substring
std::size_t last_param_end = 0;

Expand Down

0 comments on commit 15f8216

Please sign in to comment.