Skip to content

Commit 7f69bcc

Browse files
committed
Removed final from the Box classes.
1 parent 4c7c11f commit 7f69bcc

File tree

1 file changed

+4
-5
lines changed
  • src/pico_tree/pico_tree/internal

1 file changed

+4
-5
lines changed

src/pico_tree/pico_tree/internal/box.hpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class BoxBase {
131131
//! \details This specialization supports a compile time known spatial
132132
//! dimension.
133133
template <typename Scalar_, int Dim_>
134-
class Box final : public BoxBase<Box<Scalar_, Dim_>> {
134+
class Box : public BoxBase<Box<Scalar_, Dim_>> {
135135
public:
136136
using ScalarType = Scalar_;
137137
static int constexpr Dim = Dim_;
@@ -161,8 +161,7 @@ class Box final : public BoxBase<Box<Scalar_, Dim_>> {
161161
//! \brief An axis aligned box represented by a min and max coordinate.
162162
//! \details This specialization supports a run time known spatial dimension.
163163
template <typename Scalar_>
164-
class Box<Scalar_, kDynamicDim> final
165-
: public BoxBase<Box<Scalar_, kDynamicDim>> {
164+
class Box<Scalar_, kDynamicDim> : public BoxBase<Box<Scalar_, kDynamicDim>> {
166165
public:
167166
using ScalarType = Scalar_;
168167
static int constexpr Dim = kDynamicDim;
@@ -190,7 +189,7 @@ class Box<Scalar_, kDynamicDim> final
190189
//! \details This specialization supports a compile time known spatial
191190
//! dimension.
192191
template <typename Scalar_, int Dim_>
193-
class BoxMap final : public BoxBase<BoxMap<Scalar_, Dim_>> {
192+
class BoxMap : public BoxBase<BoxMap<Scalar_, Dim_>> {
194193
public:
195194
using ScalarType = Scalar_;
196195
static int constexpr Dim = Dim_;
@@ -219,7 +218,7 @@ class BoxMap final : public BoxBase<BoxMap<Scalar_, Dim_>> {
219218
//! raw pointers.
220219
//! \details This specialization supports a run time known spatial dimension.
221220
template <typename Scalar_>
222-
class BoxMap<Scalar_, kDynamicDim> final
221+
class BoxMap<Scalar_, kDynamicDim>
223222
: public BoxBase<BoxMap<Scalar_, kDynamicDim>> {
224223
public:
225224
using ScalarType = Scalar_;

0 commit comments

Comments
 (0)