Simplify changing the tpx_version
commitd5682dd33775dc104029343f18ef5fb2a7135d39
authorBerk Hess <hess@kth.se>
Tue, 25 Aug 2015 08:24:13 +0000 (25 10:24 +0200)
committerBerk Hess <hess@kth.se>
Tue, 25 Aug 2015 08:51:05 +0000 (25 10:51 +0200)
tree233a8f32f1444bd89ddd146b49c36cf9a5814eb7
parent85ea430288e1caf8561210a9f8ad2e1976fb92b2
Simplify changing the tpx_version

Added an element tpxv_Count to the tpxv enum and setting
tpx_version to tpx_Count-1. When adding a new tpx version, one no
longer needs edit the tpx_version field, nor add a comma to the
next-to-last entry in tpxv. This results in fewer line changes and
reduces the number of git conflicts between two commits that both
add a new tpx version.

Change-Id: I23ea253678be369edbe721668a09b9062c641edd
src/gromacs/fileio/tpxio.cpp