From e58466b76838c0b85d7aad2eda242f16df863a49 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 11 Oct 2017 20:45:11 +0200 Subject: [PATCH] Remove meaningless type qualifier in pointer cast --- source/distributed/tria.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5