Index: src/IceELFSection.h |
diff --git a/src/IceELFSection.h b/src/IceELFSection.h |
index 961d8d24e3c1dbb1918a0305ec15a524015cacb2..92dc02b79b0322ff490c88c95f238a4c4603bc3f 100644 |
--- a/src/IceELFSection.h |
+++ b/src/IceELFSection.h |
@@ -200,8 +200,8 @@ public: |
private: |
// Map from symbol name to its symbol information. |
// This assumes symbols are unique across all sections. |
- typedef IceString SymtabKey; |
- typedef std::map<SymtabKey, ELFSym> SymMap; |
+ using SymtabKey = IceString; |
+ using SymMap = std::map<SymtabKey, ELFSym>; |
template <bool IsELF64> |
void writeSymbolMap(ELFStreamer &Str, const SymMap &Map); |
@@ -299,13 +299,13 @@ private: |
bool operator()(const IceString &StrA, const IceString &StrB) const; |
}; |
- typedef std::map<IceString, size_t, SuffixComparator> StringToIndexType; |
+ using StringToIndexType = std::map<IceString, size_t, SuffixComparator>; |
/// Track strings to their index. Index will be UnknownIndex if not |
/// yet laid out. |
StringToIndexType StringToIndexMap; |
- typedef std::vector<uint8_t> RawDataType; |
+ using RawDataType = std::vector<uint8_t>; |
RawDataType StringData; |
}; |