SCRIPT: wpiformat

This commit is contained in:
PJ Reiniger
2025-11-07 20:01:58 -05:00
committed by Peter Johnson
parent ae6bdc9d25
commit 2109161534
749 changed files with 5504 additions and 3936 deletions

View File

@@ -44,7 +44,7 @@ class HttpWebSocketServerConnection
m_helper.upgrade.connect([this] {
// Negotiate sub-protocol
wpi::util::SmallVector<std::string_view, 2> protocols{m_protocols.begin(),
m_protocols.end()};
m_protocols.end()};
std::string_view protocol = m_helper.MatchProtocol(protocols).second;
// Check that the upgrade is valid