summaryrefslogtreecommitdiffstats
path: root/lld/ELF/Relocations.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/Relocations.h')
-rw-r--r--lld/ELF/Relocations.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Relocations.h b/lld/ELF/Relocations.h
index 3a930d935b0..2a82a677d8a 100644
--- a/lld/ELF/Relocations.h
+++ b/lld/ELF/Relocations.h
@@ -153,7 +153,7 @@ private:
void forEachInputSectionDescription(
ArrayRef<OutputSection *> OutputSections,
- std::function<void(OutputSection *, InputSectionDescription *)> Fn);
+ llvm::function_ref<void(OutputSection *, InputSectionDescription *)> Fn);
std::pair<Thunk *, bool> getThunk(Symbol &Sym, RelType Type, uint64_t Src);
OpenPOWER on IntegriCloud