Cbor: Export the datastream operators for QCborSimpleType
Otherwise they are not available to the tests. This is exposed by making the metatype interfaces constexpr. Change-Id: I1b3214f339985f2f8ffaf0640cf51e41e92198d0 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
40e6fe7801
commit
0b0acce5a7
@ -134,8 +134,8 @@ Q_CORE_EXPORT QDebug operator<<(QDebug, QCborTag tg);
|
||||
#endif
|
||||
|
||||
#if !defined(QT_NO_DATASTREAM)
|
||||
QDataStream &operator<<(QDataStream &ds, QCborSimpleType st);
|
||||
QDataStream &operator>>(QDataStream &ds, QCborSimpleType &st);
|
||||
Q_CORE_EXPORT QDataStream &operator<<(QDataStream &ds, QCborSimpleType st);
|
||||
Q_CORE_EXPORT QDataStream &operator>>(QDataStream &ds, QCborSimpleType &st);
|
||||
#endif
|
||||
|
||||
inline size_t qHash(QCborSimpleType tag, size_t seed = 0)
|
||||
|
Loading…
Reference in New Issue
Block a user