aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/headerpath.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/projectexplorer/headerpath.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/projectexplorer/headerpath.h')
-rw-r--r--src/plugins/projectexplorer/headerpath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/headerpath.h b/src/plugins/projectexplorer/headerpath.h
index 26e10315fc..09337684b3 100644
--- a/src/plugins/projectexplorer/headerpath.h
+++ b/src/plugins/projectexplorer/headerpath.h
@@ -59,7 +59,7 @@ public:
HeaderPathType type = HeaderPathType::User;
};
-inline uint qHash(const HeaderPath &key, uint seed = 0)
+inline auto qHash(const HeaderPath &key, uint seed = 0)
{
return ((qHash(key.path) << 2) | uint(key.type)) ^ seed;
}