Compile fixes on linux

This commit is contained in:
baldurk
2017-08-24 19:15:28 +01:00
parent 9fabf709ff
commit 2a0fac1ad6
7 changed files with 11 additions and 5 deletions
@@ -35,11 +35,11 @@
#define JSON_ID "rdocPerformanceCounterSettings"
#define JSON_VER 1
// specialise this template so we can use QSet<GPUCounter>
template <>
inline uint qHash(const GPUCounter &t, uint seed)
// we can't specialise the template, but creating an overload works. This lets us use
// QSet<GPUCounter>
inline uint qHash(const GPUCounter &t)
{
return qHash(uint32_t(t), seed);
return qHash(uint32_t(t));
}
namespace