From 492b9448a7d91e801f4eed9f4eba1be0f888a73c Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Sat, 11 Nov 2017 19:03:13 -0800 Subject: [pcl] Fixup: commit missing patch --- ports/pcl/vs2017-15.4-workaround.patch | 41 ++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 ports/pcl/vs2017-15.4-workaround.patch diff --git a/ports/pcl/vs2017-15.4-workaround.patch b/ports/pcl/vs2017-15.4-workaround.patch new file mode 100644 index 000000000..5600c9dc8 --- /dev/null +++ b/ports/pcl/vs2017-15.4-workaround.patch @@ -0,0 +1,41 @@ +diff --git a/io/include/pcl/io/ply/ply_parser.h b/io/include/pcl/io/ply/ply_parser.h +index 649d19a..45709a8 100644 +--- a/io/include/pcl/io/ply/ply_parser.h ++++ b/io/include/pcl/io/ply/ply_parser.h +@@ -115,7 +115,7 @@ namespace pcl + + class scalar_property_definition_callbacks_type + { +- private: ++ public: + template + struct callbacks_element + { +@@ -123,7 +123,8 @@ namespace pcl + typedef T scalar_type; + typename scalar_property_definition_callback_type::type callback; + }; +- ++ ++ private: + typedef boost::mpl::inherit_linearly< + scalar_types, + boost::mpl::inherit< +@@ -218,6 +219,7 @@ namespace pcl + boost::mpl::_1,boost::mpl::transform > > > + {}; + ++ public: + template + struct callbacks_element + { +@@ -225,7 +227,8 @@ namespace pcl + typedef typename T::second scalar_type; + typename list_property_definition_callback_type::type callback; + }; +- ++ ++ private: + typedef boost::mpl::inherit_linearly::type, boost::mpl::inherit > >::type callbacks; + callbacks callbacks_; + -- cgit v1.2.3