aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/breakhandler.h
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@qt.io>2021-07-07 17:32:53 +0200
committerTim Jenssen <tim.jenssen@qt.io>2021-07-07 17:39:46 +0000
commit40d03d1896e5f5dc0abf92a13e2da44b97c6704c (patch)
tree8ce9bb9e7f0760d80fd6f08ad6784cbaf02fb30c /src/plugins/debugger/breakhandler.h
parentcd843318485749d4e019a3f039ba16dc18079a7a (diff)
Avoid size_t to (u)int warnings with auto, where it is possible
Change-Id: I1ec7454ebce59d99bc828bfd5086907eb0905632 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/debugger/breakhandler.h')
-rw-r--r--src/plugins/debugger/breakhandler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/debugger/breakhandler.h b/src/plugins/debugger/breakhandler.h
index 20bd7365a1..b20555cae4 100644
--- a/src/plugins/debugger/breakhandler.h
+++ b/src/plugins/debugger/breakhandler.h
@@ -223,9 +223,9 @@ using SubBreakpoints = const QList<SubBreakpoint>;
using BreakHandlerModel = Utils::TreeModel<Utils::TypedTreeItem<BreakpointItem>, BreakpointItem, SubBreakpointItem>;
using BreakpointManagerModel = Utils::TreeModel<Utils::TypedTreeItem<GlobalBreakpointItem>, GlobalBreakpointItem>;
-inline uint qHash(const Debugger::Internal::SubBreakpoint &b) { return qHash(b.data()); }
-inline uint qHash(const Debugger::Internal::Breakpoint &b) { return qHash(b.data()); }
-inline uint qHash(const Debugger::Internal::GlobalBreakpoint &b) { return qHash(b.data()); }
+inline auto qHash(const Debugger::Internal::SubBreakpoint &b) { return qHash(b.data()); }
+inline auto qHash(const Debugger::Internal::Breakpoint &b) { return qHash(b.data()); }
+inline auto qHash(const Debugger::Internal::GlobalBreakpoint &b) { return qHash(b.data()); }
class BreakHandler : public BreakHandlerModel
{