Skip to content

Commit be5071b

Browse files
committed
Fix build when nlohmann is not detected (reported by cdash ci on windows)
1 parent 412c791 commit be5071b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/core/src/image/vpCannyEdgeDetection.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ vpCannyEdgeDetection::vpCannyEdgeDetection(const int &gaussianKernelSize, const
141141

142142
using json = nlohmann::json;
143143

144-
vpCannyEdgeDetection::vpCannyEdgeDetection(const std::string &jsonPath) :
144+
vpCannyEdgeDetection::vpCannyEdgeDetection(const std::string &jsonPath)
145145
#if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__))) // UNIX
146-
m_minStackSize(0) // Deactivated by default
146+
: m_minStackSize(0) // Deactivated by default
147147
#endif
148148
{
149149
initFromJSON(jsonPath);

0 commit comments

Comments
 (0)