diff --git a/src/sampling/sampledSurface/sampledSurface/sampledSurface.H b/src/sampling/sampledSurface/sampledSurface/sampledSurface.H index 7bd8b6f9daa99fe3916d1f7de8559fb3d5a3e4d1..7a56559ab5ba0897080419fc0fc6639d5ac2cdda 100644 --- a/src/sampling/sampledSurface/sampledSurface/sampledSurface.H +++ b/src/sampling/sampledSurface/sampledSurface/sampledSurface.H @@ -273,7 +273,7 @@ public: //- List of element ids/order of the original surface, //- when hasFaceIds is true. - const labelList& originalIds() const + virtual const labelList& originalIds() const { return Foam::emptyLabelList; }