From fd71cd200d458c6ce3dcd87f6e0399ec20f7e0f3 Mon Sep 17 00:00:00 2001 From: rlagneau Date: Wed, 26 Jun 2024 08:48:06 +0200 Subject: [PATCH] [CORE] Added VP_EXPLICIT to the constructor of vpParticleFitler --- modules/core/include/visp3/core/vpParticleFilter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/include/visp3/core/vpParticleFilter.h b/modules/core/include/visp3/core/vpParticleFilter.h index 64843ccb6d..7220e19858 100644 --- a/modules/core/include/visp3/core/vpParticleFilter.h +++ b/modules/core/include/visp3/core/vpParticleFilter.h @@ -130,7 +130,7 @@ class VISP_EXPORT vpParticleFilter * \param[in] nbThreads The number of threads the user would like to use. Negative value to set the maximum number * of threads available when using OpenMP. */ - vpParticleFilter(const unsigned int &N, const std::vector &stdev, const long &seed = -1, const int &nbThreads = -1); + VP_EXPLICIT vpParticleFilter(const unsigned int &N, const std::vector &stdev, const long &seed = -1, const int &nbThreads = -1); inline virtual ~vpParticleFilter() { }