diff options
Diffstat (limited to 'lib/DebugInfo/CodeView/DebugCrossImpSubsection.cpp')
| -rw-r--r-- | lib/DebugInfo/CodeView/DebugCrossImpSubsection.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DebugInfo/CodeView/DebugCrossImpSubsection.cpp b/lib/DebugInfo/CodeView/DebugCrossImpSubsection.cpp index bf9dd7c868627..4001741f560a6 100644 --- a/lib/DebugInfo/CodeView/DebugCrossImpSubsection.cpp +++ b/lib/DebugInfo/CodeView/DebugCrossImpSubsection.cpp @@ -79,7 +79,7 @@ Error DebugCrossModuleImportsSubsection::commit(    for (const auto &M : Mappings)      Ids.push_back(&M); -  llvm::sort(Ids.begin(), Ids.end(), [this](const T &L1, const T &L2) { +  llvm::sort(Ids, [this](const T &L1, const T &L2) {      return Strings.getIdForString(L1->getKey()) <             Strings.getIdForString(L2->getKey());    });  | 
