Skip to content

Commit 89010e4

Browse files
committed
fix(Destructors): force some destructor definitions
1 parent fdc276c commit 89010e4

File tree

14 files changed

+64
-3
lines changed

14 files changed

+64
-3
lines changed

include/geode/model/mixin/core/blocks.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ namespace geode
8181
{
8282
public:
8383
BlockRange( const Blocks& blocks );
84+
~BlockRange();
8485

8586
const Block< dimension >& operator*() const;
8687
};

include/geode/model/mixin/core/corners.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ namespace geode
8080
{
8181
public:
8282
CornerRange( const Corners& corners );
83+
~CornerRange();
8384

8485
const Corner< dimension >& operator*() const;
8586
};

include/geode/model/mixin/core/lines.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ namespace geode
7171
{
7272
public:
7373
LineRange( const Lines& lines );
74+
~LineRange();
7475

7576
const Line< dimension >& operator*() const;
7677
};

include/geode/model/mixin/core/model_boundaries.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ namespace geode
7272
{
7373
public:
7474
ModelBoundaryRange( const ModelBoundaries& boundaries );
75+
~ModelBoundaryRange();
7576

7677
const ModelBoundary< dimension >& operator*() const;
7778
};

include/geode/model/mixin/core/surfaces.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ namespace geode
7171
{
7272
public:
7373
SurfaceRange( const Surfaces& surfaces );
74+
~SurfaceRange();
7475

7576
const Surface< dimension >& operator*() const;
7677
};

include/geode/model/representation/core/brep.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,9 @@ namespace geode
246246
};
247247

248248
public:
249-
BRep() = default;
250-
BRep( BRep&& brep ) = default;
251-
~BRep() = default;
249+
BRep();
250+
BRep( BRep&& brep );
251+
~BRep();
252252

253253
BoundaryCornerRange boundaries( const Line3D& line ) const;
254254

include/geode/model/representation/core/section.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@ namespace geode
180180
};
181181

182182
public:
183+
Section();
184+
Section( Section&& section );
185+
~Section();
186+
183187
BoundaryCornerRange boundaries( const Line2D& line ) const;
184188

185189
BoundaryLineRange boundaries( const Surface2D& surface ) const;

src/geode/model/mixin/core/blocks.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,11 @@ namespace geode
271271
{
272272
}
273273

274+
template < index_t dimension >
275+
Blocks< dimension >::BlockRange::~BlockRange() // NOLINT
276+
{
277+
}
278+
274279
template < index_t dimension >
275280
const Block< dimension >& Blocks< dimension >::BlockRange::operator*() const
276281
{

src/geode/model/mixin/core/corners.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,11 @@ namespace geode
238238
{
239239
}
240240

241+
template < index_t dimension >
242+
Corners< dimension >::CornerRange::~CornerRange() // NOLINT
243+
{
244+
}
245+
241246
template < index_t dimension >
242247
const Corner< dimension >&
243248
Corners< dimension >::CornerRange::operator*() const

src/geode/model/mixin/core/lines.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,11 @@ namespace geode
232232
{
233233
}
234234

235+
template < index_t dimension >
236+
Lines< dimension >::LineRange::~LineRange() // NOLINT
237+
{
238+
}
239+
235240
template < index_t dimension >
236241
const Line< dimension >& Lines< dimension >::LineRange::operator*() const
237242
{

0 commit comments

Comments
 (0)