From be5071b846b97d77d2b4c13c661d56a95bfe7fd4 Mon Sep 17 00:00:00 2001 From: Fabien Spindler Date: Wed, 4 Dec 2024 10:01:03 +0100 Subject: [PATCH] Fix build when nlohmann is not detected (reported by cdash ci on windows) --- modules/core/src/image/vpCannyEdgeDetection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/src/image/vpCannyEdgeDetection.cpp b/modules/core/src/image/vpCannyEdgeDetection.cpp index 1cfe10c271..b43d719fc9 100644 --- a/modules/core/src/image/vpCannyEdgeDetection.cpp +++ b/modules/core/src/image/vpCannyEdgeDetection.cpp @@ -141,9 +141,9 @@ vpCannyEdgeDetection::vpCannyEdgeDetection(const int &gaussianKernelSize, const using json = nlohmann::json; -vpCannyEdgeDetection::vpCannyEdgeDetection(const std::string &jsonPath) : +vpCannyEdgeDetection::vpCannyEdgeDetection(const std::string &jsonPath) #if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__))) // UNIX - m_minStackSize(0) // Deactivated by default + : m_minStackSize(0) // Deactivated by default #endif { initFromJSON(jsonPath);