File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ struct DensityMap {
3838 DensityMap (DensityMap &&other) = default ;
3939 DensityMap &operator =(DensityMap &&other) = default ;
4040 DensityMap &operator =(const DensityMap &other) = delete ;
41- inline uint8_t &operator ()(const int x, const int y) { return grid.at <uint8_t >(x, y); }
41+ uint8_t &operator ()(const int x, const int y) { return grid.at <uint8_t >(x, y); }
4242 Eigen::Vector2i lower_bound;
4343 double resolution;
4444 cv::Mat grid;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ using Vector3dVector = std::vector<Eigen::Vector3d>;
4646
4747struct VoxelBlock {
4848 void emplace_back (const Eigen::Vector3d &point);
49- inline constexpr size_t size () const { return num_points; }
49+ size_t size () const { return num_points; }
5050 auto cbegin () const { return points.cbegin (); }
5151 auto cend () const { return std::next (points.cbegin (), num_points); }
5252 Eigen::Vector3d front () const { return points.front (); }
@@ -57,9 +57,9 @@ struct VoxelBlock {
5757struct VoxelMap {
5858 explicit VoxelMap (const double voxel_size, const double max_distance);
5959
60- inline void Clear () { map_.clear (); }
61- inline bool Empty () const { return map_.empty (); }
62- inline size_t NumVoxels () const { return map_.size (); }
60+ void Clear () { map_.clear (); }
61+ bool Empty () const { return map_.empty (); }
62+ size_t NumVoxels () const { return map_.size (); }
6363
6464 void IntegrateFrame (const Vector3dVector &points, const Eigen::Matrix4d &pose);
6565 void AddPoints (const Vector3dVector &points);
You can’t perform that action at this time.
0 commit comments