diff --git a/Code/Projections/otbGeometriesProjectionFilter.cxx b/Code/Projections/otbGeometriesProjectionFilter.cxx index 96e770eb2602528359b8c23dfb627990e3299e8b..ffb86c6bb189e6037f0ad2b5f27fe768cd2b0241 100644 --- a/Code/Projections/otbGeometriesProjectionFilter.cxx +++ b/Code/Projections/otbGeometriesProjectionFilter.cxx @@ -53,7 +53,7 @@ otb::ReprojectTransformationFunctor::ByCopy::operator()(TGeometry const* in) con if (out) m_Reprojector.do_transform(*out); ogr::UniqueGeometryPtr res(out.release()); - return boost::move(res); + return otb::move(res); } template <typename TGeometry> @@ -165,7 +165,7 @@ otb::ReprojectTransformationFunctor::operator()(OGRGeometry const* in) const { otb::ogr::UniqueGeometryPtr res = ogr::apply<otb::ogr::UniqueGeometryPtr>(in, ByCopy(*this)); - return boost::move(res); + return otb::move(res); } void otb::ReprojectTransformationFunctor::apply_inplace(OGRGeometry * inout) const diff --git a/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.txx b/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.txx index 5f54b78af6d962604dc4dd5526e0744414d49a68..91653bd1f7eb6d0aafb8bc0d0f79e8fcac7655dc 100644 --- a/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.txx +++ b/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.txx @@ -88,7 +88,7 @@ void otb::TransformationFunctorDispatcher<TransformationFunctor,OGRGeometry>::op // TODO: field transformations... ogr::UniqueGeometryPtr g = m_functor(feat.GetGeometry()); ogr::Feature dest(defn); - dest.SetGeometryDirectly(boost::move(g)); + dest.SetGeometryDirectly(otb::move(g)); out.CreateFeature(dest); } } @@ -107,7 +107,7 @@ void otb::TransformationFunctorDispatcher<TransformationFunctor,OGRGeometry>::op ogr::Feature feat = *inout.start_at(i); // TODO: field transformations... ogr::UniqueGeometryPtr g = m_functor(feat.GetGeometry()); - feat.SetGeometryDirectly(boost::move(g)); + feat.SetGeometryDirectly(otb::move(g)); inout.SetFeature(feat); } } diff --git a/Examples/Filtering/GeometriesChangeSpatialReference.cxx b/Examples/Filtering/GeometriesChangeSpatialReference.cxx index 3d9cf26b810c3cb0179269ee8ff684c54513a387..158bb63b21498e73387b077b9e80d4ff957b4288 100644 --- a/Examples/Filtering/GeometriesChangeSpatialReference.cxx +++ b/Examples/Filtering/GeometriesChangeSpatialReference.cxx @@ -74,7 +74,7 @@ ReprojectTransformationFunctor::operator()(OGRGeometry const* in) const itkGenericExceptionMacro(<< "Cannot reproject a geometry: " << CPLGetLastErrorMsg()); } } - return boost::move(out); + return otb::move(out); } /*===========================================================================*/ diff --git a/Examples/Filtering/GeometriesFilter.cxx b/Examples/Filtering/GeometriesFilter.cxx index 37c564e43e788fda2ad73a263799f70aeae911ac..f0464f999cc826a9fd3a9c8bd41e68c4c848bdce 100644 --- a/Examples/Filtering/GeometriesFilter.cxx +++ b/Examples/Filtering/GeometriesFilter.cxx @@ -42,7 +42,7 @@ struct SwapXYFunctor assert(!"Sorry, This example filter requires GDAL v1.9.0 or later"); #endif } - return boost::move(out); + return otb::move(out); } };