mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SR-11889: Using Located<T> instead of std::pair<SourceLoc, T>
This commit is contained in:
@@ -448,7 +448,7 @@ void swift::ide::printSubmoduleInterface(
|
||||
auto RHSPath = RHS->getFullAccessPath();
|
||||
for (unsigned i = 0, e = std::min(LHSPath.size(), RHSPath.size()); i != e;
|
||||
i++) {
|
||||
if (int Ret = LHSPath[i].first.str().compare(RHSPath[i].first.str()))
|
||||
if (int Ret = LHSPath[i].item.str().compare(RHSPath[i].item.str()))
|
||||
return Ret < 0;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user