aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/libusb1_control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/transport/libusb1_control.cpp')
-rw-r--r--host/lib/transport/libusb1_control.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/host/lib/transport/libusb1_control.cpp b/host/lib/transport/libusb1_control.cpp
index 699581839..a18f657d9 100644
--- a/host/lib/transport/libusb1_control.cpp
+++ b/host/lib/transport/libusb1_control.cpp
@@ -36,6 +36,8 @@ public:
_handle->claim_interface(interface);
}
+ virtual ~libusb_control_impl(void);
+
int submit(boost::uint8_t request_type,
boost::uint8_t request,
boost::uint16_t value,
@@ -60,6 +62,10 @@ private:
boost::mutex _mutex;
};
+libusb_control_impl::~libusb_control_impl(void) {
+ /* NOP */
+}
+
/***********************************************************************
* USB control public make functions
**********************************************************************/