diff options
Diffstat (limited to 'tests/auto/tools/moc/forward-declared-param.h')
-rw-r--r-- | tests/auto/tools/moc/forward-declared-param.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/forward-declared-param.h b/tests/auto/tools/moc/forward-declared-param.h index 484e546482..8438ca9128 100644 --- a/tests/auto/tools/moc/forward-declared-param.h +++ b/tests/auto/tools/moc/forward-declared-param.h @@ -38,6 +38,8 @@ struct ForwardDeclaredParam; template <typename T> class ForwardDeclaredContainer; struct FullyDefined {}; +inline size_t qHash(const FullyDefined &, size_t seed = 0) { return seed; } +inline bool operator==(const FullyDefined &, const FullyDefined &) { return true; } Q_DECLARE_METATYPE(FullyDefined) class ForwardDeclaredParamClass : public QObject |