diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/shared/proparser/profileevaluator.h | 4 | ||||
| -rw-r--r-- | src/shared/proparser/profileparser.h | 12 |
2 files changed, 9 insertions, 7 deletions
diff --git a/src/shared/proparser/profileevaluator.h b/src/shared/proparser/profileevaluator.h index 0031ee1d71..5831b9b64a 100644 --- a/src/shared/proparser/profileevaluator.h +++ b/src/shared/proparser/profileevaluator.h @@ -116,8 +116,6 @@ private: friend struct ProFileOption; }; -Q_DECLARE_TYPEINFO(ProFileEvaluator::FunctionDef, Q_MOVABLE_TYPE); - // This struct is from qmake, but we are not using everything. struct ProFileOption { @@ -168,4 +166,6 @@ struct ProFileOption QT_END_NAMESPACE +Q_DECLARE_TYPEINFO(ProFileEvaluator::FunctionDef, Q_MOVABLE_TYPE); + #endif // PROFILEEVALUATOR_H diff --git a/src/shared/proparser/profileparser.h b/src/shared/proparser/profileparser.h index 3cdd1824cc..e4b0385f2d 100644 --- a/src/shared/proparser/profileparser.h +++ b/src/shared/proparser/profileparser.h @@ -142,11 +142,6 @@ private: friend class ProFileCache; }; -#if !defined(__GNUC__) || __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3) -Q_DECLARE_TYPEINFO(ProFileParser::BlockScope, Q_MOVABLE_TYPE); -Q_DECLARE_TYPEINFO(ProFileParser::Context, Q_PRIMITIVE_TYPE); -#endif - class ProFileCache { public: @@ -178,4 +173,11 @@ private: friend class ProFileParser; }; +QT_END_NAMESPACE + +#if !defined(__GNUC__) || __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3) +Q_DECLARE_TYPEINFO(ProFileParser::BlockScope, Q_MOVABLE_TYPE); +Q_DECLARE_TYPEINFO(ProFileParser::Context, Q_PRIMITIVE_TYPE); +#endif + #endif // PROFILEPARSER_H |
