Skip to content

Commit

Permalink
for mac (#655)
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos authored Nov 26, 2024
1 parent 60d6d50 commit aa315d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cinatra/coro_http_server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ class coro_http_server {
size_t erase_if(std::span<T> &sp, Pred p) {
auto it = std::remove_if(sp.begin(), sp.end(), p);
size_t count = sp.end() - it;
sp = std::span<T>(sp.begin(), it);
sp = std::span<T>(sp.data(), sp.data() + count);
return count;
}

Expand Down

0 comments on commit aa315d1

Please sign in to comment.