From 54fa727fdf7934f550f836aea07d3d0a107ea181 Mon Sep 17 00:00:00 2001 From: Francois Bonneau Date: Fri, 28 Jun 2024 17:33:58 +0200 Subject: [PATCH] fix linking error --- src/geode/mesh/helpers/detail/create_mesh.cpp | 5 +++++ src/geode/mesh/helpers/detail/point_set_merger.cpp | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/geode/mesh/helpers/detail/create_mesh.cpp b/src/geode/mesh/helpers/detail/create_mesh.cpp index 213aab2ac..9ff1aa4f1 100644 --- a/src/geode/mesh/helpers/detail/create_mesh.cpp +++ b/src/geode/mesh/helpers/detail/create_mesh.cpp @@ -29,6 +29,7 @@ #include #include +#include #include #include @@ -55,11 +56,15 @@ namespace geode return Mesh::create( geode::MeshFactory::default_impl( type ) ); } + template std::unique_ptr< PointSet2D > opengeode_mesh_api create_mesh( + absl::Span< const std::reference_wrapper< const PointSet2D > > ); template std::unique_ptr< EdgedCurve2D > opengeode_mesh_api create_mesh( absl::Span< const std::reference_wrapper< const EdgedCurve2D > > ); template std::unique_ptr< SurfaceMesh2D > opengeode_mesh_api create_mesh( absl::Span< const std::reference_wrapper< const SurfaceMesh2D > > ); + template std::unique_ptr< PointSet3D > opengeode_mesh_api create_mesh( + absl::Span< const std::reference_wrapper< const PointSet3D > > ); template std::unique_ptr< EdgedCurve3D > opengeode_mesh_api create_mesh( absl::Span< const std::reference_wrapper< const EdgedCurve3D > > ); template std::unique_ptr< SurfaceMesh3D > diff --git a/src/geode/mesh/helpers/detail/point_set_merger.cpp b/src/geode/mesh/helpers/detail/point_set_merger.cpp index 2d3023bb7..8a45dd9e2 100644 --- a/src/geode/mesh/helpers/detail/point_set_merger.cpp +++ b/src/geode/mesh/helpers/detail/point_set_merger.cpp @@ -23,7 +23,6 @@ #include -#include #include namespace geode @@ -40,9 +39,7 @@ namespace geode } template < index_t dimension > - PointSetMerger< dimension >::~PointSetMerger() - { - } + PointSetMerger< dimension >::~PointSetMerger() = default; template < index_t dimension > std::unique_ptr< PointSet< dimension > >