Fix build.

This commit is contained in:
Roman Telezhynskyi 2022-11-22 08:20:22 +02:00
parent 0f2c922ead
commit e251bd365c
5 changed files with 5 additions and 5 deletions

View File

@ -35,7 +35,7 @@
// See https://stackoverflow.com/a/46719572/3045403
#if __cplusplus < 201703L // C++17
constexpr quint32 VLayoutPlaceLabel::streamHeader; // NOLINT(readability-redundant-declaration)
constexpr quint32 VLayoutPlaceLabel::classVersion; // NOLINT(readability-redundant-declaration)
constexpr quint16 VLayoutPlaceLabel::classVersion; // NOLINT(readability-redundant-declaration)
#endif
//---------------------------------------------------------------------------------------------------------------------

View File

@ -86,7 +86,7 @@ QT_WARNING_POP
// See https://stackoverflow.com/a/46719572/3045403
#if __cplusplus < 201703L // C++17
constexpr quint32 VAbstractPieceData::streamHeader; // NOLINT(readability-redundant-declaration)
constexpr quint32 VAbstractPieceData::classVersion; // NOLINT(readability-redundant-declaration)
constexpr quint16 VAbstractPieceData::classVersion; // NOLINT(readability-redundant-declaration)
#endif
// Friend functions

View File

@ -132,7 +132,7 @@ QT_WARNING_POP
// See https://stackoverflow.com/a/46719572/3045403
#if __cplusplus < 201703L // C++17
constexpr quint32 VLayoutPieceData::streamHeader; // NOLINT(readability-redundant-declaration)
constexpr quint32 VLayoutPieceData::classVersion; // NOLINT(readability-redundant-declaration)
constexpr quint16 VLayoutPieceData::classVersion; // NOLINT(readability-redundant-declaration)
#endif
// Friend functions

View File

@ -83,7 +83,7 @@ QT_WARNING_POP
// See https://stackoverflow.com/a/46719572/3045403
#if __cplusplus < 201703L // C++17
constexpr quint32 VLayoutPiecePathData::streamHeader; // NOLINT(readability-redundant-declaration)
constexpr quint32 VLayoutPiecePathData::classVersion; // NOLINT(readability-redundant-declaration)
constexpr quint16 VLayoutPiecePathData::classVersion; // NOLINT(readability-redundant-declaration)
#endif
// Friend functions

View File

@ -119,7 +119,7 @@ private:
// See https://stackoverflow.com/a/46719572/3045403
#if __cplusplus < 201703L // C++17
constexpr quint32 VPieceNodeData::streamHeader; // NOLINT(readability-redundant-declaration)
constexpr quint32 VPieceNodeData::classVersion; // NOLINT(readability-redundant-declaration)
constexpr quint16 VPieceNodeData::classVersion; // NOLINT(readability-redundant-declaration)
#endif
// Friend functions