mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-09 09:15:38 +02:00
Bug 317686 - Implement method error. Fixed issue with linked resources.
This commit is contained in:
parent
3b3f2e6ceb
commit
c630261d21
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ public class NamespaceHelper {
|
|||
}
|
||||
|
||||
private static boolean checkFileNameAndLocation(final IFile insertFile, final int offset, IASTNode namespace) {
|
||||
boolean fileNameOk = namespace.getFileLocation().getFileName().endsWith(insertFile.getFullPath().toOSString());
|
||||
boolean fileNameOk = namespace.getFileLocation().getFileName().endsWith(insertFile.getLocation().toOSString());
|
||||
if(!fileNameOk) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue