fix gcc 3.3. build

the templated friend just doesn't have any effect.
so simply skip the typeinfo. will be slower, but you deserve that if you
use that compiler.
This commit is contained in:
Oswald Buddenhagen
2009-06-04 09:49:23 +02:00
parent 259197a500
commit 3104e4c121
2 changed files with 3 additions and 0 deletions

View File

@@ -248,8 +248,10 @@ public:
bool m_parsePreAndPostFiles;
};
#if !defined(__GNUC__) || __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3)
Q_DECLARE_TYPEINFO(ProFileEvaluator::Private::State, Q_PRIMITIVE_TYPE);
Q_DECLARE_TYPEINFO(ProFileEvaluator::Private::ProLoop, Q_MOVABLE_TYPE);
#endif
ProFileEvaluator::Private::Private(ProFileEvaluator *q_)
: q(q_)