aboutsummaryrefslogtreecommitdiffstats
path: root/modules/websocket.cpp
diff options
context:
space:
mode:
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;