mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 11:07:10 +01:00
[pcl] Fixup: commit missing patch
This commit is contained in:
parent
b075fbc7bc
commit
492b9448a7
41
ports/pcl/vs2017-15.4-workaround.patch
Normal file
41
ports/pcl/vs2017-15.4-workaround.patch
Normal file
@ -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 <typename T>
|
||||
struct callbacks_element
|
||||
{
|
||||
@@ -123,7 +123,8 @@ namespace pcl
|
||||
typedef T scalar_type;
|
||||
typename scalar_property_definition_callback_type<scalar_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<Sequence2, pair_with<boost::mpl::_2> > > >
|
||||
{};
|
||||
|
||||
+ public:
|
||||
template <typename T>
|
||||
struct callbacks_element
|
||||
{
|
||||
@@ -225,7 +227,8 @@ namespace pcl
|
||||
typedef typename T::second scalar_type;
|
||||
typename list_property_definition_callback_type<size_type, scalar_type>::type callback;
|
||||
};
|
||||
-
|
||||
+
|
||||
+ private:
|
||||
typedef boost::mpl::inherit_linearly<sequence_product<size_types, scalar_types>::type, boost::mpl::inherit<boost::mpl::_1, callbacks_element<boost::mpl::_2> > >::type callbacks;
|
||||
callbacks callbacks_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user