Skip to content

Commit 8b346d7

Browse files
committed
changed seekStartofCoords to be virtual
1 parent f03d1e2 commit 8b346d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GMGW_FileWrapper.hxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ public:
144144
seekStartOfConnectivity() const;
145145
virtual void
146146
getNextCellConnectivity(GMGW_int& nConn, GMGW_int connect[]) const = 0;
147-
void
148-
seekStartOfCoords() const;
147+
virtual void // needs to be virtual to enable reading from streams instead of FILEs (jww)
148+
seekStartOfCoords() const;
149149
virtual void
150150
getNextVertexCoords(double& x, double& y, double &z) const = 0;
151151
protected:

0 commit comments

Comments
 (0)