summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-10-23 07:51:00 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-10-23 22:48:17 +0300
commit0c1f7da15ed91bf53034631180de744756afbacf (patch)
treec72e56d9873f27d116cc07c57d4d7e6f46c1c683
parentef10997b4af5174d7f83b6678c2e4cd13b39a851 (diff)
libcamera: Drop unneeded empty default constructors and destructors
A few default constructors and destructors are needlessly defined as empty. Drop them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <email@uajain.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--include/libcamera/signal.h1
-rw-r--r--test/media_device/media_device_print_test.cpp4
2 files changed, 0 insertions, 5 deletions
diff --git a/include/libcamera/signal.h b/include/libcamera/signal.h
index accb797e..5bcd7a77 100644
--- a/include/libcamera/signal.h
+++ b/include/libcamera/signal.h
@@ -38,7 +38,6 @@ template<typename... Args>
class Signal : public SignalBase
{
public:
- Signal() {}
~Signal()
{
disconnect();
diff --git a/test/media_device/media_device_print_test.cpp b/test/media_device/media_device_print_test.cpp
index 436d4e8a..cdec5b8d 100644
--- a/test/media_device/media_device_print_test.cpp
+++ b/test/media_device/media_device_print_test.cpp
@@ -25,10 +25,6 @@ using namespace std;
*/
class MediaDevicePrintTest : public Test
{
-public:
- MediaDevicePrintTest() {}
- ~MediaDevicePrintTest() {}
-
protected:
int init() { return 0; }
int run();