diff options
Diffstat (limited to 'include/device.h')
-rw-r--r-- | include/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h index 34b7a5b..3f18921 100644 --- a/include/device.h +++ b/include/device.h @@ -21,6 +21,7 @@ class Device { public: Device(); + virtual ~Device(){disconnect();} // lack of device is not actually an error, // so it doesn't throw |