arrays: formatIsTrivial -> public

This commit is contained in:
Christian Zimmermann 2024-04-18 13:56:24 +02:00
parent 0cc0a7cea4
commit 9ea47a20a3
2 changed files with 3 additions and 8 deletions

View file

@ -44,12 +44,10 @@ namespace CNORXZ
virtual const_iterator cbegin() const override; virtual const_iterator cbegin() const override;
virtual const_iterator cend() const override; virtual const_iterator cend() const override;
virtual bool isView() const override; virtual bool isView() const override;
virtual bool formatIsTrivial() const override final;
SERIALIZATION_FUNCTIONS; SERIALIZATION_FUNCTIONS;
protected:
virtual bool formatIsTrivial() const override final;
private: private:
Vector<T> mCont; Vector<T> mCont;
}; };

View file

@ -47,11 +47,10 @@ namespace CNORXZ
virtual const_iterator cbegin() const override; virtual const_iterator cbegin() const override;
virtual const_iterator cend() const override; virtual const_iterator cend() const override;
virtual bool isView() const override final; virtual bool isView() const override final;
virtual bool formatIsTrivial() const override final;
protected: protected:
virtual bool formatIsTrivial() const override final;
const CArrayBase<T>* mCParent = nullptr; /**< pointer to the original container */ const CArrayBase<T>* mCParent = nullptr; /**< pointer to the original container */
YFormat mBlockSizes; /**< the format */ YFormat mBlockSizes; /**< the format */
SizeT mOff = 0; /** pointer offset w.r.t. the original pointer */ SizeT mOff = 0; /** pointer offset w.r.t. the original pointer */
@ -89,8 +88,6 @@ namespace CNORXZ
virtual const_iterator cbegin() const override; virtual const_iterator cbegin() const override;
virtual const_iterator cend() const override; virtual const_iterator cend() const override;
virtual bool isView() const override final; virtual bool isView() const override final;
protected:
virtual bool formatIsTrivial() const override final; virtual bool formatIsTrivial() const override final;
private: private: