Skip to content

Commit 8aee6cb

Browse files
committed
fix missing virtual destructor in PointSourcePanner
closes #56
1 parent a5c6b39 commit 8aee6cb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/common/point_source_panner.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@ namespace ear {
224224
return ret + 1;
225225
}
226226

227+
PointSourcePanner::~PointSourcePanner() {}
228+
227229
PointSourcePannerDownmix::PointSourcePannerDownmix(
228230
std::shared_ptr<PointSourcePanner> psp, Eigen::MatrixXd downmix)
229231
: _psp(psp), _downmix(downmix){};

src/common/point_source_panner.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ namespace ear {
116116
virtual boost::optional<Eigen::VectorXd> handle(
117117
Eigen::Vector3d position) = 0;
118118
virtual int numberOfOutputChannels() const = 0;
119+
120+
virtual ~PointSourcePanner();
119121
};
120122

121123
/** @brief Wrapper around multiple regions.

0 commit comments

Comments
 (0)