From 2162aab0e9b341194ecfa414f63f553408f5ad56 Mon Sep 17 00:00:00 2001 From: Ievgen Khvedchenia Date: Mon, 28 Apr 2014 15:17:09 +0300 Subject: [PATCH] Remove AKAZEFeatures desctructor --- modules/features2d/src/akaze/AKAZE.cpp | 9 --------- modules/features2d/src/akaze/AKAZE.h | 3 --- 2 files changed, 12 deletions(-) diff --git a/modules/features2d/src/akaze/AKAZE.cpp b/modules/features2d/src/akaze/AKAZE.cpp index 75c1fc6515..a2cd507ba7 100644 --- a/modules/features2d/src/akaze/AKAZE.cpp +++ b/modules/features2d/src/akaze/AKAZE.cpp @@ -32,15 +32,6 @@ AKAZEFeatures::AKAZEFeatures(const AKAZEOptions& options) : options_(options) { Allocate_Memory_Evolution(); } -/* ************************************************************************* */ -/** - * @brief AKAZEFeatures destructor - */ -AKAZEFeatures::~AKAZEFeatures(void) { - - evolution_.clear(); -} - /* ************************************************************************* */ /** * @brief This method allocates the memory for the nonlinear diffusion evolution diff --git a/modules/features2d/src/akaze/AKAZE.h b/modules/features2d/src/akaze/AKAZE.h index cabfae8819..f1bd7250bf 100644 --- a/modules/features2d/src/akaze/AKAZE.h +++ b/modules/features2d/src/akaze/AKAZE.h @@ -38,9 +38,6 @@ public: /// Constructor with input arguments AKAZEFeatures(const AKAZEOptions& options); - /// Destructor - ~AKAZEFeatures(); - /// Scale Space methods void Allocate_Memory_Evolution(); int Create_Nonlinear_Scale_Space(const cv::Mat& img);