core: add copy constructors/assignment operators to device_data_t

To make Coverity happy.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-08-13 23:28:57 +02:00 committed by Michael Keller
parent 6d08903917
commit 455bc8f40c

View file

@ -46,6 +46,10 @@ struct device_data_t {
void *androidUsbDeviceDescriptor = nullptr;
device_data_t();
~device_data_t();
device_data_t(const device_data_t &) = default;
device_data_t(device_data_t &&) = default;
device_data_t &operator=(const device_data_t &) = default;
device_data_t &operator=(device_data_t &&) = default;
};
const char *errmsg (dc_status_t rc);