Skip to content

Commit 40ff3a5

Browse files
authored
Merge pull request lagadic#1517 from fspindle/fix_windows_nlohmann
Fix build when nlohmann is not detected (reported by cdash ci on wind…
2 parents 412c791 + be5071b commit 40ff3a5

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)