From: Daniel Arndt Date: Wed, 11 Oct 2017 18:45:11 +0000 (+0200) Subject: Remove meaningless type qualifier in pointer cast X-Git-Tag: v9.0.0-rc1~964^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e58466b76838c0b85d7aad2eda242f16df863a49;p=dealii.git Remove meaningless type qualifier in pointer cast --- diff --git a/source/distributed/tria.cc b/source/distributed/tria.cc index b8c7a375be..3e45432cf0 100644 --- a/source/distributed/tria.cc +++ b/source/distributed/tria.cc @@ -1462,7 +1462,7 @@ namespace parallel // Additionally, we need to store the pointer to this // vertex index with respect to the std::vector const unsigned int *const vertex_index - = reinterpret_cast(ptr); + = reinterpret_cast(ptr); first_indices[c] = vertex_indices.size(); vertex_indices.push_back(*vertex_index); n_vertices_on_cell[c] = *vertex_index; @@ -1482,7 +1482,7 @@ namespace parallel { // We need to store a pointer to the first vertex. const dealii::Point *const vertex - = reinterpret_cast * const>(ptr); + = reinterpret_cast *>(ptr); first_indices[c] = vertices.size(); vertices.push_back(*vertex); ptr += sizeof(dealii::Point);