4
1
mirror of https://github.com/QuasarApp/Heart.git synced 2025-05-06 06:29:43 +00:00

simple fixes

This commit is contained in:
Andrei Yankovich 2024-03-24 21:23:27 +01:00
parent 8289dcaf7f
commit 14d5236c99

@ -22,10 +22,6 @@ public:
StreamMultiversion();
// StreamBase interface
protected:
QDataStream &fromStream(QDataStream &stream) override;
QDataStream &toStream(QDataStream &stream) const override;
/**
* @brief version override this method to sets version of package.
* @return
@ -38,6 +34,11 @@ protected:
* @note use this method to check version of read package in the fromStream method..
*/
virtual int realVersion() const;
protected:
QDataStream &fromStream(QDataStream &stream) override;
QDataStream &toStream(QDataStream &stream) const override;
private:
int _realVersion = 0;