Skip to content

Commit

Permalink
fix: fix crash error in case of ENABLE_TRANSFORM
Browse files Browse the repository at this point in the history
  • Loading branch information
ronzheng1006 committed Aug 10, 2022
1 parent dfa78c9 commit 0ef75d8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/rs_driver/driver/decoder/decoder_base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,11 @@ template <typename T_Point>
class DecoderBase
{
public:

#ifdef ENABLE_TRANSFORM
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
#endif

explicit DecoderBase(const RSDecoderParam& param, const LidarConstantParameter& lidar_const_param);
DecoderBase(const DecoderBase&) = delete;
DecoderBase& operator=(const DecoderBase&) = delete;
Expand Down

0 comments on commit 0ef75d8

Please sign in to comment.