From 4e691587ef9c2fb3bea5f3451bccb2ac2a04f9c0 Mon Sep 17 00:00:00 2001 From: danielenricocahall Date: Sun, 4 Apr 2021 09:06:21 -0400 Subject: [PATCH] remove virtual inheritance from features2d --- modules/features2d/include/opencv2/features2d.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/features2d/include/opencv2/features2d.hpp b/modules/features2d/include/opencv2/features2d.hpp index 829d8ff898..80cde9ca5c 100644 --- a/modules/features2d/include/opencv2/features2d.hpp +++ b/modules/features2d/include/opencv2/features2d.hpp @@ -141,11 +141,7 @@ public: /** @brief Abstract base class for 2D image feature detectors and descriptor extractors */ -#ifdef __EMSCRIPTEN__ class CV_EXPORTS_W Feature2D : public Algorithm -#else -class CV_EXPORTS_W Feature2D : public virtual Algorithm -#endif { public: virtual ~Feature2D();