compile fix with namespaced Qt

This commit is contained in:
hjk
2009-11-20 10:28:17 +01:00
parent e4a7792d6e
commit 68160cfa8b
2 changed files with 4 additions and 0 deletions

View File

@@ -43,12 +43,14 @@
using namespace CPlusPlus;
QT_BEGIN_NAMESPACE
uint qHash(const CPlusPlus::LookupItem &key)
{
const uint h1 = qHash(key.type().type());
const uint h2 = qHash(key.lastVisibleSymbol());
return ((h1 << 16) | (h1 >> 16)) ^ h2;
}
QT_END_NAMESPACE
/////////////////////////////////////////////////////////////////////
// LookupContext