diff --git a/lldb/source/Host/common/FileSpec.cpp b/lldb/source/Host/common/FileSpec.cpp index 5109695ad203..4aa83d3e7d81 100644 --- a/lldb/source/Host/common/FileSpec.cpp +++ b/lldb/source/Host/common/FileSpec.cpp @@ -420,7 +420,7 @@ FileSpec::operator== (const FileSpec& rhs) const // rhs's path wasn't resolved but now it is. Check if the resolved // directory is the same as rhs's unresolved directory, and if so, // we can mark this object as resolved to avoid more future resolves - rhs.m_is_resolved = (m_directory == resolved_rhs.m_directory); + rhs.m_is_resolved = (rhs.m_directory == resolved_rhs.m_directory); } else return false;