move redundant enumerator to Variable class definition in variable.h

This commit is contained in:
Axel Kohlmeyer
2021-03-23 21:41:50 -04:00
parent 4f46ee30a2
commit 85d1257222
3 changed files with 10 additions and 9 deletions

View File

@ -53,6 +53,10 @@ class Variable : protected Pointers {
int nvar; // # of defined variables
char **names; // name of each variable
// must match "varstyles" array in info.cpp
enum{INDEX,LOOP,WORLD,UNIVERSE,ULOOP,STRING,GETENV,
SCALARFILE,ATOMFILE,FORMAT,EQUAL,ATOM,VECTOR,PYTHON,INTERNAL};
private:
int me;
int maxvar; // max # of variables following lists can hold