summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/SourceManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/SourceManager.cpp')
-rw-r--r--lldb/source/Core/SourceManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/SourceManager.cpp b/lldb/source/Core/SourceManager.cpp
index ecea72daeec..5ceeee365d7 100644
--- a/lldb/source/Core/SourceManager.cpp
+++ b/lldb/source/Core/SourceManager.cpp
@@ -279,7 +279,7 @@ SourceManager::File::DisplaySourceLines (uint32_t line, uint32_t context_before,
bool
SourceManager::File::FileSpecMatches (const FileSpec &file_spec)
{
- return FileSpec::Compare (m_file_spec, file_spec, false) == 0;
+ return FileSpec::Equal (m_file_spec, file_spec, false);
}
OpenPOWER on IntegriCloud