summaryrefslogtreecommitdiff
path: root/ELF/Writer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ELF/Writer.h')
-rw-r--r--ELF/Writer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ELF/Writer.h b/ELF/Writer.h
index 17fbda394a20..e935b6419de6 100644
--- a/ELF/Writer.h
+++ b/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;