Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: src/IceELFObjectWriter.h

Issue 1343843003: Refactor all instances of `typedef y x` to the C++11 `using x = y` syntax. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceDefs.h ('k') | src/IceELFSection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceELFObjectWriter.h
diff --git a/src/IceELFObjectWriter.h b/src/IceELFObjectWriter.h
index f5ae7b8b581a8110eed38c0da53a13bccd86e9b9..c1bfb746f5cc3db6364071620ccb2878887d2792 100644
--- a/src/IceELFObjectWriter.h
+++ b/src/IceELFObjectWriter.h
@@ -97,10 +97,10 @@ private:
bool ELF64;
// All created sections, separated into different pools.
- typedef std::vector<ELFSection *> SectionList;
- typedef std::vector<ELFTextSection *> TextSectionList;
- typedef std::vector<ELFDataSection *> DataSectionList;
- typedef std::vector<ELFRelocationSection *> RelSectionList;
+ using SectionList = std::vector<ELFSection *>;
+ using TextSectionList = std::vector<ELFTextSection *>;
+ using DataSectionList = std::vector<ELFDataSection *>;
+ using RelSectionList = std::vector<ELFRelocationSection *>;
TextSectionList TextSections;
RelSectionList RelTextSections;
DataSectionList DataSections;
« no previous file with comments | « src/IceDefs.h ('k') | src/IceELFSection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698