Skip to content
Snippets Groups Projects
Commit 4173b0f0 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Simplified copy-constructor of Mesh

parent c3d45c5f
No related branches found
No related tags found
1 merge request!120Fixed copy-constructor in SparseMatrix
...@@ -87,7 +87,7 @@ class Mesh ...@@ -87,7 +87,7 @@ class Mesh
// constructors // constructors
Mesh() = default; Mesh() = default;
Mesh( const Mesh& mesh ); Mesh( const Mesh& mesh ) = default;
Mesh( Mesh&& mesh ) = default; Mesh( Mesh&& mesh ) = default;
......
...@@ -36,15 +36,6 @@ init( typename MeshTraitsType::PointArrayType& points, ...@@ -36,15 +36,6 @@ init( typename MeshTraitsType::PointArrayType& points,
} }
template< typename MeshConfig, typename Device >
Mesh< MeshConfig, Device >::
Mesh( const Mesh& mesh )
: StorageBaseType( mesh ),
EntityTagsLayerFamily( mesh )
{
points = mesh.getPoints();
}
template< typename MeshConfig, typename Device > template< typename MeshConfig, typename Device >
template< typename Device_ > template< typename Device_ >
Mesh< MeshConfig, Device >:: Mesh< MeshConfig, Device >::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment