From bc5a6188ca8d1027a41a81f53a9ebf50e7af5dc5 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Wed, 18 Sep 2019 13:56:47 +0200
Subject: [PATCH] Fixes for C++ compilation.

---
 src/runner_doiact_grav.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/runner_doiact_grav.c b/src/runner_doiact_grav.c
index 372b7524ec..d4b71b7e94 100644
--- a/src/runner_doiact_grav.c
+++ b/src/runner_doiact_grav.c
@@ -696,9 +696,8 @@ static INLINE void runner_dopair_grav_pm_truncated(
  * @param symmetric Are we updating both cells (1) or just ci (0) ?
  * @param allow_mpole Are we allowing the use of P2M interactions ?
  */
-INLINE void runner_dopair_grav_pp(struct runner *r, struct cell *ci,
-                                  struct cell *cj, const int symmetric,
-                                  const int allow_mpole) {
+void runner_dopair_grav_pp(struct runner *r, struct cell *ci, struct cell *cj,
+                           const int symmetric, const int allow_mpole) {
 
   /* Recover some useful constants */
   const struct engine *e = r->e;
@@ -1151,7 +1150,7 @@ static INLINE void runner_doself_grav_pp_truncated(
  * @param r The #runner.
  * @param c The #cell.
  */
-INLINE void runner_doself_grav_pp(struct runner *r, struct cell *c) {
+void runner_doself_grav_pp(struct runner *r, struct cell *c) {
 
   /* Recover some useful constants */
   const struct engine *e = r->e;
-- 
GitLab