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

View File

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