mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-02 23:20:20 +00:00
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:
parent
6d08903917
commit
455bc8f40c
1 changed files with 4 additions and 0 deletions
|
@ -46,6 +46,10 @@ struct device_data_t {
|
||||||
void *androidUsbDeviceDescriptor = nullptr;
|
void *androidUsbDeviceDescriptor = nullptr;
|
||||||
device_data_t();
|
device_data_t();
|
||||||
~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);
|
const char *errmsg (dc_status_t rc);
|
||||||
|
|
Loading…
Reference in a new issue