Add virtual destructor to base class

pull/1066/head
Breno Rodrigues Guimaraes 8 years ago
parent 165c79b417
commit 3a320fdf53

@ -6530,6 +6530,7 @@ Such as on an ABI (link) boundary.
##### Example
struct Device {
virtual ~Device() = default;
virtual void write(span<const char> outbuf) = 0;
virtual void read(span<char> inbuf) = 0;
};

Loading…
Cancel
Save