From 1bbacfb46d1b14192f3ebd7ccc9d9e3049405546 Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Mon, 25 Feb 2013 16:52:34 -0500 Subject: [PATCH] Fixed empty destination boolean condition, added a windows specific wrapper around header --- sdk/plugins/nec3.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sdk/plugins/nec3.cpp b/sdk/plugins/nec3.cpp index 64aa2fc..c134016 100644 --- a/sdk/plugins/nec3.cpp +++ b/sdk/plugins/nec3.cpp @@ -1,4 +1,7 @@ +#ifdef WIN32 #include +#endif + #include #include @@ -139,7 +142,7 @@ class NEC3Enroll : public UntrainableTransform contexts.release(context); - if (src.file.getBool("ForceEnrollment") && dst.isEmpty()) dst += cv::Mat(); + if (!src.file.getBool("enrollAll") && dst.isEmpty()) dst += cv::Mat(); } }; -- libgit2 0.21.4