diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2014-07-30 21:55:18 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2014-07-31 10:07:55 +0200 |
commit | d40585d7b159301ff323bdf92143519cacb71ed2 (patch) | |
tree | 3531cb5266baf5929a397a7eec2d433e8181208a /src/plugins/debugger/debuggeritem.cpp | |
parent | 1be0e914c69aa849a6d5818fb4562f9d99434863 (diff) | |
download | qt-creator-d40585d7b159301ff323bdf92143519cacb71ed2.tar.gz |
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>
Diffstat (limited to 'src/plugins/debugger/debuggeritem.cpp')
-rw-r--r-- | src/plugins/debugger/debuggeritem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggeritem.cpp b/src/plugins/debugger/debuggeritem.cpp index 56e573938a..f95d2e3f52 100644 --- a/src/plugins/debugger/debuggeritem.cpp +++ b/src/plugins/debugger/debuggeritem.cpp @@ -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; |