From c25448513a5c166496841857558865d1d1fe67ba Mon Sep 17 00:00:00 2001 From: Fabien Spindler Date: Mon, 24 Jun 2024 19:04:57 +0200 Subject: [PATCH] Use VP_EXPLICIT instead of explicit --- modules/core/include/visp3/core/vpRectOriented.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/core/include/visp3/core/vpRectOriented.h b/modules/core/include/visp3/core/vpRectOriented.h index 4175daf1ed..558cad8042 100644 --- a/modules/core/include/visp3/core/vpRectOriented.h +++ b/modules/core/include/visp3/core/vpRectOriented.h @@ -67,9 +67,7 @@ class VISP_EXPORT vpRectOriented vpRectOriented &operator=(const vpRect &rect); #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11) - explicit operator vpRect(); -#else - operator vpRect(); + VP_EXPLICIT operator vpRect(); #endif void setCenter(const vpImagePoint ¢er);