Closed wch closed 1 year ago
The problem is here:
It calls .empty()
on a vector
, but that's the wrong method: it reports whether or not the vector is empty, but I believe the goal is to clear the vector, in which case the correct method is .clear()
.
Looking at the history, the .empty()
was originally introduced in bdaee938bd9bb1d7f72e50e49de7821d279aa95a., and then was moved to a new location in 5178f6ac2f9a43845388be27ac2b36d99034a765.
I received an email from BDR about a warning from clang 16.
From https://www.stats.ox.ac.uk/pub/bdr/clang16/httpuv.out: