Change the 'handle' class' destructor to virtual
Fixes the clang + libc++ error
In file included from .../opae-sdk/common/include/opae/cxx/core/handle.h:27:
.../include/c++/v1/memory:2363:5: error: delete called on non-final 'opae::fpga::types::handle' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-abstract-non-virtual-dtor]
delete __ptr;
^
@@ -49,7 +49,7 @@ class handle {
handle(const handle &) = delete;
handle &operator=(const handle &) = delete;
- ~handle();
+ virtual ~handle();
/** Retrieve the underlying OPAE handle.
*/
