From daaf0544b47e870e93eb7094ac004e775af41d50 Mon Sep 17 00:00:00 2001 From: Fabien Spindler Date: Sat, 28 Oct 2023 18:20:23 +0200 Subject: [PATCH] Fix vpCircleHoughTransform when nlohman_jsn not available --- modules/imgproc/src/vpCircleHoughTransform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/imgproc/src/vpCircleHoughTransform.cpp b/modules/imgproc/src/vpCircleHoughTransform.cpp index de36e4f398..f1be206cd4 100644 --- a/modules/imgproc/src/vpCircleHoughTransform.cpp +++ b/modules/imgproc/src/vpCircleHoughTransform.cpp @@ -98,6 +98,8 @@ vpCircleHoughTransform::saveConfigurationInJSON(const std::string &jsonPath) con m_algoParams.saveConfigurationInJSON(jsonPath); } +#endif + void vpCircleHoughTransform::initGaussianFilters() { @@ -665,5 +667,3 @@ std::ostream &operator<<(std::ostream &os, const vpCircleHoughTransform &detecto os << detector.toString(); return os; } - -#endif