aboutsummaryrefslogtreecommitdiff
path: root/modules/websocket.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-26 22:24:16 +0000
committerGravatar Sadie Powell2026-03-26 22:24:16 +0000
commitcd2d667ca7d3d31dbcf1f3bf0717b744b11ec776 (patch)
tree2d510e98b89d9fb7a74b7ed44dede89ef5d3b50e /modules/websocket.cpp
parentMerge branch 'insp4' into master. (diff)
Switch typedefs to using statements.
Diffstat (limited to 'modules/websocket.cpp')
-rw-r--r--modules/websocket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/websocket.cpp b/modules/websocket.cpp
index cde1ad433..fd3a24a86 100644
--- a/modules/websocket.cpp
+++ b/modules/websocket.cpp
@@ -79,8 +79,8 @@ struct WebSocketConfig final
DM_TEXT
};
- typedef std::vector<std::string> OriginList;
- typedef std::vector<std::string> ProxyRanges;
+ using OriginList = std::vector<std::string>;
+ using ProxyRanges = std::vector<std::string>;
// The HTTP origins that can connect to the server.
OriginList allowedorigins;