diff --git a/modules/flann/include/opencv2/flann/dist.h b/modules/flann/include/opencv2/flann/dist.h index ceb83543f5..ab78b253ef 100644 --- a/modules/flann/include/opencv2/flann/dist.h +++ b/modules/flann/include/opencv2/flann/dist.h @@ -77,6 +77,8 @@ struct Accumulator { typedef float Type; }; template<> struct Accumulator { typedef float Type; }; +#undef True +#undef False class True {