summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/elf_builder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/elf_builder.h b/compiler/elf_builder.h
index 78d1693f8c..895dfccfe3 100644
--- a/compiler/elf_builder.h
+++ b/compiler/elf_builder.h
@@ -199,9 +199,9 @@ class ElfBuilder FINAL {
Elf_Word phdr_flags_;
Elf_Word phdr_type_;
- DISALLOW_COPY_AND_ASSIGN(Section);
-
friend class ElfBuilder;
+
+ DISALLOW_COPY_AND_ASSIGN(Section);
};
// Writer of .dynstr .strtab and .shstrtab sections.