From c77d894a8b2b441baafd7b2d689a1c668e56c382 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 23 Oct 2020 07:51:56 +0300 Subject: libcamera: Declare empty virtual destructors as defaulted The base class of polymorphic classes is required to declare a destructor. Several of these are empty, and can thus be declared as defaulted. Signed-off-by: Laurent Pinchart Reviewed-by: Umang Jain Reviewed-by: Kieran Bingham --- include/libcamera/internal/ipa_proxy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libcamera/internal/ipa_proxy.h') diff --git a/include/libcamera/internal/ipa_proxy.h b/include/libcamera/internal/ipa_proxy.h index b429ce5a..49399f4e 100644 --- a/include/libcamera/internal/ipa_proxy.h +++ b/include/libcamera/internal/ipa_proxy.h @@ -42,7 +42,7 @@ class IPAProxyFactory { public: IPAProxyFactory(const char *name); - virtual ~IPAProxyFactory() {} + virtual ~IPAProxyFactory() = default; virtual std::unique_ptr create(IPAModule *ipam) = 0; -- cgit v1.2.1