clang-tidy-11 fixes for gmxpreprocess
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / ter_db.cpp
index f4f12e34ec0f4e678e7a896baab3752b8750e3e7..b65145dc9057100b81b4f96dbdccbde3789ae832 100644 (file)
 
 #include "ter_db.h"
 
+#include <array>
 #include <cctype>
 #include <cstring>
 
 #include <algorithm>
+#include <optional>
 #include <string>
 #include <vector>
 
@@ -54,6 +56,7 @@
 #include "gromacs/gmxpreprocess/notset.h"
 #include "gromacs/gmxpreprocess/toputil.h"
 #include "gromacs/utility/cstringutil.h"
+#include "gromacs/utility/enumerationhelpers.h"
 #include "gromacs/utility/fatalerror.h"
 #include "gromacs/utility/futil.h"
 #include "gromacs/utility/enumerationhelpers.h"
@@ -66,6 +69,7 @@
 #include "hackblock.h"
 #include "resall.h"
 
+/* use bonded types definitions in hackblock.h */
 enum class ReplaceType : int
 {
     Repl,