Fix TPR handling for older versions.
authorPaul Bauer <paul.bauer.q@gmail.com>
Wed, 20 Jan 2021 06:10:40 +0000 (06:10 +0000)
committerArtem Zhmurov <zhmurov@gmail.com>
Wed, 20 Jan 2021 06:10:40 +0000 (06:10 +0000)
commit9ecf9141da64954e5288bb4e7b2332569f364b65
tree2827a542661a654c2a737a65491f7bde3b5e7a74
parent01304e1920bfb5c781fcf7398445a82a2b89e055
Fix TPR handling for older versions.

Reading in a newer TPR file in a pre-2021 version would fail hard with
symtab errors due to us forgetting to increment the tpr generation when
adding the VSite1 type to ftupd.

This fixes the omission an makes the tpr generation an enum similar to
the tpr version.

Fixes #3867
src/gromacs/fileio/tpxio.cpp
src/gromacs/fileio/tpxio.h