From e863aaa08e9e4a328ece7b8f808cc4beee05bb70 Mon Sep 17 00:00:00 2001 From: Hyungtae Lim Date: Sat, 12 Oct 2024 15:38:54 -0400 Subject: [PATCH] Put const in the header file as well --- cpp/patchworkpp/include/patchwork/patchworkpp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/patchworkpp/include/patchwork/patchworkpp.h b/cpp/patchworkpp/include/patchwork/patchworkpp.h index 7ab4e01..ebdde5e 100755 --- a/cpp/patchworkpp/include/patchwork/patchworkpp.h +++ b/cpp/patchworkpp/include/patchwork/patchworkpp.h @@ -194,8 +194,8 @@ class PatchWorkpp { vector centers_, normals_; - Eigen::MatrixX3f toEigenCloud(vector cloud); - Eigen::VectorXi toIndices(vector cloud); + Eigen::MatrixX3f toEigenCloud(const vector &cloud); + Eigen::VectorXi toIndices(const vector &cloud); void addCloud(vector &cloud, vector &add);