diff options
Diffstat (limited to 'tests/benchmark/fixtures/HOGDescriptorFixture.h')
-rw-r--r-- | tests/benchmark/fixtures/HOGDescriptorFixture.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/benchmark/fixtures/HOGDescriptorFixture.h b/tests/benchmark/fixtures/HOGDescriptorFixture.h index 3933a165cf..312959347b 100644 --- a/tests/benchmark/fixtures/HOGDescriptorFixture.h +++ b/tests/benchmark/fixtures/HOGDescriptorFixture.h @@ -82,15 +82,11 @@ public: sync_if_necessary<TensorType>(); } - void teardown() - { - src.allocator()->free(); - dst.allocator()->free(); - } +protected: + TensorType dst{}; private: TensorType src{}; - TensorType dst{}; Function hog_descriptor_func{}; }; } // namespace benchmark |