From f78c64c6aefa4f837f904095500ab433e82ee27b Mon Sep 17 00:00:00 2001 From: Nick Kledzik Date: Thu, 20 Nov 2014 21:41:53 +0000 Subject: [PATCH] [mach-o] fix whitespace llvm-svn: 222457 --- lld/lib/ReaderWriter/MachO/File.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lld/lib/ReaderWriter/MachO/File.h b/lld/lib/ReaderWriter/MachO/File.h index e01c6a8..fff6ef8 100644 --- a/lld/lib/ReaderWriter/MachO/File.h +++ b/lld/lib/ReaderWriter/MachO/File.h @@ -118,13 +118,13 @@ public: MachODefinedAtom *findAtomCoveringAddress(const Section §ion, uint64_t offsetInSect, uint32_t *foundOffsetAtom=nullptr) { - const auto& pos = _sectionAtoms.find(§ion); + const auto &pos = _sectionAtoms.find(§ion); if (pos == _sectionAtoms.end()) return nullptr; - const auto& vec = pos->second; + const auto &vec = pos->second; assert(offsetInSect < section.content.size()); // Vector of atoms for section are already sorted, so do binary search. - const auto& atomPos = std::lower_bound(vec.begin(), vec.end(), offsetInSect, + const auto &atomPos = std::lower_bound(vec.begin(), vec.end(), offsetInSect, [offsetInSect](const SectionOffsetAndAtom &ao, uint64_t targetAddr) -> bool { // Each atom has a start offset of its slice of the -- 2.7.4