Skip to content

Commit

Permalink
fix linking error
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisbonneau committed Jun 28, 2024
1 parent 4c9a4b7 commit 54fa727
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions src/geode/mesh/helpers/detail/create_mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

#include <geode/mesh/core/edged_curve.h>
#include <geode/mesh/core/mesh_factory.h>
#include <geode/mesh/core/point_set.h>
#include <geode/mesh/core/solid_mesh.h>
#include <geode/mesh/core/surface_mesh.h>

Expand All @@ -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 >
Expand Down
5 changes: 1 addition & 4 deletions src/geode/mesh/helpers/detail/point_set_merger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

#include <geode/mesh/helpers/detail/point_set_merger.h>

#include <geode/mesh/builder/point_set_builder.h>
#include <geode/mesh/core/point_set.h>

namespace geode
Expand All @@ -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 > >
Expand Down

0 comments on commit 54fa727

Please sign in to comment.