Remove unnecessary includes of arrayref.h
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / toputil.h
index 829929bd46e32656ae84ba885843e011698fcc5a..ef1fea15f0758611dd08a47833096dbd15d03e44 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2012,2014,2015,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2012,2014,2015,2018,2019,2020, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
 
 #include <cstdio>
 
-#include "gromacs/utility/arrayref.h"
-
-#include "gromacs/utility/arrayref.h"
-
 enum class Directive : int;
 class PreprocessingAtomTypes;
 struct t_atoms;
@@ -53,6 +49,12 @@ struct MoleculeInformation;
 class InteractionOfType;
 struct InteractionsOfType;
 
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
 /* UTILITIES */
 
 void add_param_to_list(InteractionsOfType* list, const InteractionOfType& b);