aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/headerpath.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/headerpath.h')
-rw-r--r--src/plugins/projectexplorer/headerpath.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/projectexplorer/headerpath.h b/src/plugins/projectexplorer/headerpath.h
index 37492fe9f1..ef7d7b3d7d 100644
--- a/src/plugins/projectexplorer/headerpath.h
+++ b/src/plugins/projectexplorer/headerpath.h
@@ -76,15 +76,15 @@ public:
return {fp, HeaderPathType::Framework};
}
+ friend auto qHash(const HeaderPath &key, uint seed = 0)
+ {
+ return ((qHash(key.path) << 2) | uint(key.type)) ^ seed;
+ }
+
QString path;
HeaderPathType type = HeaderPathType::User;
};
-inline auto qHash(const HeaderPath &key, uint seed = 0)
-{
- return ((qHash(key.path) << 2) | uint(key.type)) ^ seed;
-}
-
using HeaderPaths = QVector<HeaderPath>;
template<typename C> HeaderPaths toHeaderPaths(const C &list, HeaderPathType type)
{