[ci] Upgrade wpiformat (#8124)

See https://github.com/wpilibsuite/styleguide/pull/312
This commit is contained in:
Tyler Veness
2025-07-30 10:10:12 -07:00
committed by GitHub
parent b66a66b693
commit e678a338b4
8 changed files with 17 additions and 20 deletions

View File

@@ -773,8 +773,7 @@ void MjpegServerImpl::ConnThread::SendStream(wpi::raw_socket_ostream& os) {
lastFrameTime = thisFrameTime;
double timestamp = lastFrameTime / 1000000.0;
header.clear();
oss << "\r\n--" BOUNDARY "\r\n"
<< "Content-Type: image/jpeg\r\n";
oss << "\r\n--" BOUNDARY "\r\n" << "Content-Type: image/jpeg\r\n";
wpi::print(oss, "Content-Length: {}\r\n", size);
wpi::print(oss, "X-Timestamp: {}\r\n", timestamp);
oss << "\r\n";