From 5e2091a3b4a5993c363f1c7cc1155401f5c6b174 Mon Sep 17 00:00:00 2001 From: Fabien Spindler Date: Mon, 24 Jun 2024 18:53:47 +0200 Subject: [PATCH] Use VP_EXPLICIT instead of explicit --- modules/core/src/tools/geometry/vpRectOriented.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/core/src/tools/geometry/vpRectOriented.cpp b/modules/core/src/tools/geometry/vpRectOriented.cpp index 104d396ad0..c7e0ebe906 100644 --- a/modules/core/src/tools/geometry/vpRectOriented.cpp +++ b/modules/core/src/tools/geometry/vpRectOriented.cpp @@ -124,6 +124,7 @@ vpRectOriented &vpRectOriented::operator=(const vpRect &rect) return *this; } +#if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11) /** * Conversion to vpRect operator. */ @@ -135,6 +136,7 @@ vpRectOriented::operator vpRect() return vpRect(m_topLeft, m_bottomRight); } +#endif /** Set the corners of the rectangle. * @warning This method doesn't check whether the 4 points actually form a rectangle!