C++: Remove an unecessary unresolveElement.

As far as I can see, `@file` is not a `@usertype`, so this shouldn't be needed.
This commit is contained in:
Max Schaefer
2019-12-17 07:33:49 +00:00
parent ef453db225
commit bccdf59631

View File

@@ -20,7 +20,7 @@ abstract class XMLLocatable extends @xmllocatable {
string filepath, int startline, int startcolumn, int endline, int endcolumn
) {
exists(File f, Location l | l = this.getLocation() |
locations_default(l, unresolveElement(f), startline, startcolumn, endline, endcolumn) and
locations_default(l, f, startline, startcolumn, endline, endcolumn) and
filepath = f.getAbsolutePath()
)
}