liblas/liblas_boost173.patch
2022-05-21 17:38:20 +02:00

34 lines
2.2 KiB
Diff

diff -rupN --no-dereference libLAS-ded463732db1f9baf461be6f3fe5b8bb683c41cd/src/c_api.cpp libLAS-ded463732db1f9baf461be6f3fe5b8bb683c41cd-new/src/c_api.cpp
--- libLAS-ded463732db1f9baf461be6f3fe5b8bb683c41cd/src/c_api.cpp 2022-03-24 12:29:23.000000000 +0100
+++ libLAS-ded463732db1f9baf461be6f3fe5b8bb683c41cd-new/src/c_api.cpp 2022-05-21 00:48:53.569047862 +0200
@@ -511,7 +511,7 @@ LAS_DLL LASErrorEnum LASReader_SetOutput
transforms.erase( std::remove_if( transforms.begin(),
transforms.end(),
- boost::bind( &IsReprojectionTransform, _1 ) ),
+ std::bind( &IsReprojectionTransform, std::placeholders::_1 ) ),
transforms.end());
liblas::TransformPtr srs_transform = liblas::TransformPtr(new liblas::ReprojectionTransform(in_ref, *out_ref, &h));
@@ -1853,7 +1853,7 @@ LAS_DLL LASErrorEnum LASWriter_SetOutput
transforms.erase( std::remove_if( transforms.begin(),
transforms.end(),
- boost::bind( &IsReprojectionTransform, _1 ) ),
+ std::bind( &IsReprojectionTransform, std::placeholders::_1 ) ),
transforms.end());
liblas::TransformPtr srs_transform = liblas::TransformPtr(new liblas::ReprojectionTransform(in_ref, *out_ref, &h));
diff -rupN --no-dereference libLAS-ded463732db1f9baf461be6f3fe5b8bb683c41cd/src/header.cpp libLAS-ded463732db1f9baf461be6f3fe5b8bb683c41cd-new/src/header.cpp
--- libLAS-ded463732db1f9baf461be6f3fe5b8bb683c41cd/src/header.cpp 2022-03-24 12:29:23.000000000 +0100
+++ libLAS-ded463732db1f9baf461be6f3fe5b8bb683c41cd-new/src/header.cpp 2022-05-21 00:48:53.569047862 +0200
@@ -609,7 +609,7 @@ void Header::DeleteVLRs(std::string cons
{
m_vlrs.erase( std::remove_if( m_vlrs.begin(),
m_vlrs.end(),
- boost::bind( &SameVLRs, name, id, _1 ) ),
+ std::bind( &SameVLRs, name, id, std::placeholders::_1 ) ),
m_vlrs.end());
m_recordsCount = static_cast<uint32_t>(m_vlrs.size());