summaryrefslogtreecommitdiffstats
path: root/qmake/cachekeys.h
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/cachekeys.h')
-rw-r--r--qmake/cachekeys.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qmake/cachekeys.h b/qmake/cachekeys.h
index c164304f31..da3aee1b35 100644
--- a/qmake/cachekeys.h
+++ b/qmake/cachekeys.h
@@ -73,7 +73,7 @@ struct FixStringCacheKey
}
inline uint hashCode() const {
if(!hash)
- hash = qHash(string) | qHash(flags) /*| qHash(pwd)*/;
+ hash = qHash(string) ^ qHash(flags) /*^ qHash(pwd)*/;
return hash;
}
};
@@ -98,7 +98,7 @@ struct FileInfoCacheKey
}
inline uint hashCode() const {
if(!hash)
- hash = qHash(file) /*| qHash(pwd)*/;
+ hash = qHash(file) /*^ qHash(pwd)*/;
return hash;
}
inline bool isRelativePath(const QString &file) {