Remove cpluscplus ifdefs
[alexxy/gromacs.git] / src / gromacs / mdtypes / forcerec.h
index 8b2659a895af43c1582a50d60885016bdbfe9265..fc525b9296e7bf4d6bf43f62001cf8dab846810e 100644 (file)
 #ifndef GMX_MDTYPES_TYPES_FORCEREC_H
 #define GMX_MDTYPES_TYPES_FORCEREC_H
 
-#include "gromacs/math/vectypes.h"
-#ifdef __cplusplus
 #include "gromacs/math/paddedvector.h"
-#endif
+#include "gromacs/math/vectypes.h"
 #include "gromacs/mdtypes/interaction_const.h"
 #include "gromacs/mdtypes/md_enums.h"
 #include "gromacs/utility/basedefinitions.h"
@@ -246,13 +244,9 @@ struct t_forcerec { // NOLINT (clang-analyzer-optin.performance.Padding)
      * PPPM/PME/Ewald/posres/ForceProviders
      */
     /* True when we have contributions that are directly added to the virial */
-    gmx_bool          haveDirectVirialContributions;
-#ifdef __cplusplus
+    gmx_bool                 haveDirectVirialContributions;
     /* TODO: Replace the pointer by an object once we got rid of C */
     std::vector<gmx::RVec>  *forceBufferForDirectVirialContributions;
-#else
-    void                    *forceBufferForDirectVirialContributions_dummy;
-#endif
 
     /* Data for PPPM/PME/Ewald */
     struct gmx_pme_t *pmedata;