forked from qt-creator/qt-creator
Debugger: Fix comparison of wrong value
debuggeritem.cpp:259: warning: comparison between 'enum ProjectExplorer::Abi::OS' and 'enum ProjectExplorer::Abi::OSFlavor' [-Wenum-compare] Change-Id: I3b4f484abec56429bb7d7796749e7f1fa4e0317a Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
1be0e914c6
commit
d40585d7b1
@@ -256,7 +256,7 @@ static DebuggerItem::MatchLevel matchSingle(const Abi &debuggerAbi, const Abi &t
|
||||
return DebuggerItem::DoesNotMatch;
|
||||
|
||||
// We have at least 'Matches well' now. Mark the combinations we really like.
|
||||
if (HostOsInfo::isWindowsHost() && engineType == GdbEngineType && targetAbi.os() == Abi::WindowsMSysFlavor)
|
||||
if (HostOsInfo::isWindowsHost() && engineType == GdbEngineType && targetAbi.osFlavor() == Abi::WindowsMSysFlavor)
|
||||
return DebuggerItem::MatchesPerfectly;
|
||||
if (HostOsInfo::isLinuxHost() && engineType == GdbEngineType && targetAbi.os() == Abi::LinuxOS)
|
||||
return DebuggerItem::MatchesPerfectly;
|
||||
|
||||
Reference in New Issue
Block a user