summaryrefslogtreecommitdiff
path: root/source/Symbol/Declaration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Symbol/Declaration.cpp')
-rw-r--r--source/Symbol/Declaration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Symbol/Declaration.cpp b/source/Symbol/Declaration.cpp
index 3943f02c54741..c72ca045b6c73 100644
--- a/source/Symbol/Declaration.cpp
+++ b/source/Symbol/Declaration.cpp
@@ -110,7 +110,7 @@ lldb_private::operator == (const Declaration &lhs, const Declaration &rhs)
return lhs.GetFile() == rhs.GetFile();
#else
if (lhs.GetLine () == rhs.GetLine ())
- return lhs.GetFile() == rhs.GetFile();
+ return FileSpec::Equal(lhs.GetFile(),rhs.GetFile(), true, true);
#endif
return false;
}