From 37ea28b4d651affa4b7932b5757bcfd61409a00e Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sat, 14 Nov 2015 17:12:05 -0800 Subject: [PATCH] Add missing constructor --- src/comm/QGCSerialPortInfo.cc | 6 ++++++ src/comm/QGCSerialPortInfo.h | 1 + 2 files changed, 7 insertions(+) diff --git a/src/comm/QGCSerialPortInfo.cc b/src/comm/QGCSerialPortInfo.cc index 48bbbbd54..133bd672f 100644 --- a/src/comm/QGCSerialPortInfo.cc +++ b/src/comm/QGCSerialPortInfo.cc @@ -25,6 +25,12 @@ QGC_LOGGING_CATEGORY(QGCSerialPortInfoLog, "QGCSerialPortInfoLog") +QGCSerialPortInfo::QGCSerialPortInfo(void) : + QSerialPortInfo() +{ + +} + QGCSerialPortInfo::QGCSerialPortInfo(const QSerialPort & port) : QSerialPortInfo(port) { diff --git a/src/comm/QGCSerialPortInfo.h b/src/comm/QGCSerialPortInfo.h index 7f99a0c8a..1fa6e3114 100644 --- a/src/comm/QGCSerialPortInfo.h +++ b/src/comm/QGCSerialPortInfo.h @@ -63,6 +63,7 @@ public: static const int threeDRRadioVendorId = 1027; ///< Vendor ID for 3DR Radio static const int threeDRRadioProductId = 24597; ///< Product ID for 3DR Radio + QGCSerialPortInfo(void); QGCSerialPortInfo(const QSerialPort & port); /// Override of QSerialPortInfo::availablePorts -- 2.22.0