From ff60a223514d64cbb698894f5b41ac8f3e44c961 Mon Sep 17 00:00:00 2001 From: Victor Poughon <victor.poughon@cnes.fr> Date: Mon, 28 May 2018 17:35:06 +0200 Subject: [PATCH] BUG: fix #1609 return-statement with a value, in function returning 'void' --- Modules/Adapters/GdalAdapters/include/otbImageReference.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Adapters/GdalAdapters/include/otbImageReference.h b/Modules/Adapters/GdalAdapters/include/otbImageReference.h index 5c9688b48c..b0b5429bf7 100644 --- a/Modules/Adapters/GdalAdapters/include/otbImageReference.h +++ b/Modules/Adapters/GdalAdapters/include/otbImageReference.h @@ -138,7 +138,7 @@ public: * \return the point projected in the image coordinates system. * \throw None */ - void TransformPointToPhysicalPoint(const PointType& point) const + PointType TransformPointToPhysicalPoint(const PointType& point) const { // why no loop on VDimension ? PointType physicalPoint; -- GitLab