diff --git a/src/mesh/GmshReader.cpp b/src/mesh/GmshReader.cpp index a636f61898530080cd25bc9d5ac7701ef0d6c977..d63e3063738ae509eabea6edced140c102631608 100644 --- a/src/mesh/GmshReader.cpp +++ b/src/mesh/GmshReader.cpp @@ -173,7 +173,7 @@ class MeshDispatcher cell_list_to_send_by_proc[i] = convert_to_array(cell_vector_to_send_by_proc[i]); } - return std::move(cell_list_to_send_by_proc); + return cell_list_to_send_by_proc; } Array<int> _buildNbCellToSend() @@ -208,7 +208,7 @@ class MeshDispatcher } ::exchange(cell_value_to_send_by_proc, recv_cell_value_by_proc); - return std::move(recv_cell_value_by_proc); + return recv_cell_value_by_proc; } [[deprecated]]