From 9147d4faefa24a4fe54cff94b2106f82acf770a3 Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Thu, 28 Jul 2016 16:49:57 +0200
Subject: [PATCH] [MeL/ME] dynamic_cast is not needed anymore.

---
 MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp b/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp
index c5b17c47327..fe704f945b5 100644
--- a/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp
+++ b/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp
@@ -157,7 +157,7 @@ void Mesh2MeshPropertyInterpolation::interpolatePropertiesForMesh(
                 const std::size_t n_nodes_in_vec(i_th_vec->size());
                 for (std::size_t j(0); j<n_nodes_in_vec; j++) {
                     MeshLib::Node const*const j_th_node((*i_th_vec)[j]);
-                    out_src << nodes_cnt << " " << *(dynamic_cast<GeoLib::Point const*>(j_th_node)) << "\n";
+                    out_src << nodes_cnt << " " << *j_th_node << "\n";
                     nodes_cnt++;
                 }
             }
-- 
GitLab