Make eelType and evdwType scoped enums, + cleanup
[alexxy/gromacs.git] / src / gromacs / mdtypes / md_enums.cpp
index 65eef2ff80294259cfa8b9b8a8c5cc400b9a5fbf..0fdb10091be0c4c7f800452a477635f146ec238d 100644 (file)
@@ -39,7 +39,7 @@
 
 #include "md_enums.h"
 
-const char* enum_name(int index, int max_index, const char* names[])
+const char* enum_name(int index, int max_index, const char* const names[])
 {
     if (index < 0 || index >= max_index)
     {