From 49e26f61cf031c2d8763cefd13609c6b845a2c6b Mon Sep 17 00:00:00 2001
From: Stephane Del Pino <stephane.delpino44@gmail.com>
Date: Fri, 20 Jul 2018 00:07:04 +0200
Subject: [PATCH] Fix g++-8 compilation issue

Should try to replace all std::vector by Kokkos::vector for portability
---
 src/mesh/MeshNodeBoundary.hpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mesh/MeshNodeBoundary.hpp b/src/mesh/MeshNodeBoundary.hpp
index 9785552fe..b1cc055bd 100644
--- a/src/mesh/MeshNodeBoundary.hpp
+++ b/src/mesh/MeshNodeBoundary.hpp
@@ -2,6 +2,7 @@
 #define MESH_NODE_BOUNDARY_HPP
 
 #include <Kokkos_Core.hpp>
+#include <Kokkos_Vector.hpp>
 #include <TinyVector.hpp>
 
 #include <RefNodeList.hpp>
@@ -37,7 +38,7 @@ class MeshNodeBoundary
         }
       });
 
-    std::vector<unsigned int> node_ids;
+    Kokkos::vector<unsigned int> node_ids;
     // not enough but should reduce significantly the number of resizing
     node_ids.reserve(dimension*face_list.extent(0));
     for (size_t l=0; l<face_list.extent(0); ++l) {
-- 
GitLab