mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-16 13:35:22 +02:00
Bug 462823: Normalise files paths in HeaderFileReferenceAdjuster
Change-Id: Iffd3b6012ad492492e430162adbd895b6d8997e4 Signed-off-by: William Riley <william.riley@renesas.com>
This commit is contained in:
parent
535f49a7db
commit
ab6c210d1d
1 changed files with 2 additions and 1 deletions
|
@ -118,7 +118,8 @@ public class HeaderFileReferenceAdjuster {
|
||||||
this.movedFiles = movedFiles;
|
this.movedFiles = movedFiles;
|
||||||
this.movedFilesByLocation = new HashMap<>();
|
this.movedFilesByLocation = new HashMap<>();
|
||||||
for (Entry<IFile, IFile> entry : movedFiles.entrySet()) {
|
for (Entry<IFile, IFile> entry : movedFiles.entrySet()) {
|
||||||
this.movedFilesByLocation.put(entry.getKey().getLocation().toOSString(),
|
//Construct map using normalised file paths
|
||||||
|
this.movedFilesByLocation.put(entry.getKey().getLocation().toString(),
|
||||||
entry.getValue().getLocation());
|
entry.getValue().getLocation());
|
||||||
}
|
}
|
||||||
this.renamedContainers = renamedContainers;
|
this.renamedContainers = renamedContainers;
|
||||||
|
|
Loading…
Add table
Reference in a new issue