diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-11-09 12:20:44 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-11-09 12:22:31 +0100 |
commit | ebf308d413640c2bc405ac7bf5930f2aa4e7e1d8 (patch) | |
tree | ac66eee27fd0867757effd84afa9ac7a250b04f3 /ELFLoader | |
parent | 7b3b5f745f16eaf4a31a2aefce02a1325e1ab091 (diff) | |
download | serenity-ebf308d413640c2bc405ac7bf5930f2aa4e7e1d8.zip |
Make kernel build with clang.
It's a bit faster than g++ and seems to generate perfectly fine code.
The kernel is also roughly 10% smaller(!)
Diffstat (limited to 'ELFLoader')
-rw-r--r-- | ELFLoader/ELFLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ELFLoader/ELFLoader.cpp b/ELFLoader/ELFLoader.cpp index 58826efafd..b7b206a066 100644 --- a/ELFLoader/ELFLoader.cpp +++ b/ELFLoader/ELFLoader.cpp @@ -49,7 +49,7 @@ bool ELFLoader::layout() } }); - m_image.for_each_section_of_type(SHT_PROGBITS, [this, &failed] (const ELFImage::Section& section) { + m_image.for_each_section_of_type(SHT_PROGBITS, [this] (const ELFImage::Section& section) { #ifdef ELFLOADER_DEBUG kprintf("ELFLoader: Copying progbits section: %s\n", section.name()); #endif |