src: Use using instead of typedef

This commit is contained in:
Tatsuhiro Tsujikawa 2015-06-21 19:37:50 +09:00
parent 2ca8cf36b7
commit 878b873c69
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ struct Header {
bool no_index;
};
typedef std::vector<Header> Headers;
using Headers = std::vector<Header>;
namespace http2 {

View File

@ -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);