Merge pull request #598 from Portisch/destructor

fix warning: throw will always call terminate
This commit is contained in:
Paulchen Panther 2019-08-18 20:02:31 +02:00 committed by GitHub
commit beb9454a1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ public:
// fprintf(stderr, "ion phys_addr=%lu\n", physicalAddress);
}
virtual ~IonBuffer()
virtual ~IonBuffer() noexcept(false)
{
ion_handle_data ionHandleData = { 0 };
ionHandleData.handle = handle;