Commit 878b873c authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

src: Use using instead of typedef

parent 2ca8cf36
......@@ -61,7 +61,7 @@ struct Header {
bool no_index;
};
typedef std::vector<Header> Headers;
using Headers = std::vector<Header>;
namespace http2 {
......
......@@ -58,7 +58,7 @@ public:
HostEntry();
};
typedef std::map<std::string, HostEntry> HostEntryMap;
using HostEntryMap = std::map<std::string, HostEntry>;
// conn_max_per_host == 0 means no limit for downstream connection.
DownstreamQueue(size_t conn_max_per_host = 0, bool unified_host = true);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment