Skip to content

Commit

Permalink
Put const in the header file as well
Browse files Browse the repository at this point in the history
  • Loading branch information
LimHyungTae committed Oct 12, 2024
1 parent 6477b5a commit e863aaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/patchworkpp/include/patchwork/patchworkpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ class PatchWorkpp {

vector<PointXYZ> centers_, normals_;

Eigen::MatrixX3f toEigenCloud(vector<PointXYZ> cloud);
Eigen::VectorXi toIndices(vector<PointXYZ> cloud);
Eigen::MatrixX3f toEigenCloud(const vector<PointXYZ> &cloud);
Eigen::VectorXi toIndices(const vector<PointXYZ> &cloud);

void addCloud(vector<PointXYZ> &cloud, vector<PointXYZ> &add);

Expand Down

0 comments on commit e863aaa

Please sign in to comment.