Commit 0e105147 authored by Markus Holzer's avatar Markus Holzer
Browse files

Add override to PDFField

parent 8d2fbe76
Pipeline #38646 failed with stages
in 9 minutes and 34 seconds
......@@ -111,9 +111,9 @@ public:
//inline bool operator==( const PdfField & rhs ) const; // TODO! -> ticket
//inline bool operator!=( const PdfField & rhs ) const { return !operator==( rhs ); }
inline PdfField * clone() const;
inline PdfField * cloneUninitialized() const;
inline PdfField * cloneShallowCopy() const;
inline PdfField * clone() const override;
inline PdfField * cloneUninitialized() const override;
inline PdfField * cloneShallowCopy() const override;
const LatticeModel_T & latticeModel() const { return latticeModel_; }
LatticeModel_T & latticeModel() { return latticeModel_; }
......
......@@ -321,7 +321,7 @@ void resizeTest(field::Layout layout)
WALBERLA_CHECK_EQUAL( field.zAllocSize(), 1+2*gl);
// TODO How can the copy constructor be done? dynamic_cast was introduced and it not from master version
// TODO How can the copy constructor be done? dynamic_cast was introduced and it not from master version and it does not work afterall ..
// Field<int, 3> * p = reinterpret_cast< Field< int, 3 >* >(&field);
// WALBERLA_CHECK_EQUAL( p->xSize(), 4);
// WALBERLA_CHECK_EQUAL( p->ySize(), 2);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment