From b6bc22d86f35a01e8a4a98ea3ef802047829797d Mon Sep 17 00:00:00 2001
From: Pietro Incardona <incardon@mpi-cbg.de>
Date: Mon, 12 Nov 2018 19:21:28 +0100
Subject: [PATCH] Fixing GPU tests for pdata

---
 src/Vector/vector_dist_comm.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Vector/vector_dist_comm.hpp b/src/Vector/vector_dist_comm.hpp
index 5f9dd10c..275c70a9 100644
--- a/src/Vector/vector_dist_comm.hpp
+++ b/src/Vector/vector_dist_comm.hpp
@@ -292,13 +292,13 @@ class vector_dist_comm
 			unsigned int box_f_sv;
 			Box<dim,St> box_f_dev;
 
-			bool operator<(const sh_box & tmp)
+			bool operator<(const sh_box & tmp) const
 			{
 				return shift_id < tmp.shift_id;
 			}
 
 		};
-		openfpm::vector<struct sh_box> reord_shift;
+		openfpm::vector<sh_box> reord_shift;
 
 		// Add local particles coming from periodic boundary, the only boxes that count are the one
 		// touching the border
-- 
GitLab