mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 18:39:07 +08:00
fbc542fd5c
Ported from #37651. Fix include dir in pc files. Fix #37655.
16 lines
804 B
Diff
16 lines
804 B
Diff
diff --git a/segmentation/include/pcl/segmentation/impl/grabcut_segmentation.hpp b/segmentation/include/pcl/segmentation/impl/grabcut_segmentation.hpp
|
|
index 2ef5fc27b16..5143080b6de 100644
|
|
--- a/segmentation/include/pcl/segmentation/impl/grabcut_segmentation.hpp
|
|
+++ b/segmentation/include/pcl/segmentation/impl/grabcut_segmentation.hpp
|
|
@@ -48,8 +48,8 @@ namespace pcl
|
|
{
|
|
|
|
template <>
|
|
-float squaredEuclideanDistance (const pcl::segmentation::grabcut::Color &c1,
|
|
- const pcl::segmentation::grabcut::Color &c2)
|
|
+inline float squaredEuclideanDistance (const pcl::segmentation::grabcut::Color &c1,
|
|
+ const pcl::segmentation::grabcut::Color &c2)
|
|
{
|
|
return ((c1.r-c2.r)*(c1.r-c2.r)+(c1.g-c2.g)*(c1.g-c2.g)+(c1.b-c2.b)*(c1.b-c2.b));
|
|
}
|