src: Use using instead of typedef
This commit is contained in:
parent
2ca8cf36b7
commit
878b873c69
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue