diff options
author | Rui Ueyama <ruiu@google.com> | 2017-05-26 02:17:13 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-05-26 02:17:13 +0000 |
commit | 29e9ffe769d6d34743748020093b793e43a30e27 (patch) | |
tree | 922150139e7140782e11edd4b8c75250d7f4a2cb /lld/ELF/Writer.h | |
parent | cd138f56c7a6d23feb17eac65887c5286e0ec6ba (diff) |
Inline a trivial constructor.
Diffstat (limited to 'lld/ELF/Writer.h')
-rw-r--r-- | lld/ELF/Writer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Writer.h b/lld/ELF/Writer.h index 17fbda394a2..e935b6419de 100644 --- a/lld/ELF/Writer.h +++ b/lld/ELF/Writer.h @@ -30,7 +30,7 @@ bool isRelroSection(const OutputSection *Sec); // Each contains type, access flags and range of output sections that will be // placed in it. struct PhdrEntry { - PhdrEntry(unsigned Type, unsigned Flags); + PhdrEntry(unsigned Type, unsigned Flags) : p_type(Type), p_flags(Flags) {} void add(OutputSection *Sec); uint64_t p_paddr = 0; |