forked from qt-creator/qt-creator
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:
@@ -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_)
|
||||
|
||||
Reference in New Issue
Block a user