From f03d72be79f5c9bd0e39e2086d5f53613e6ce045 Mon Sep 17 00:00:00 2001 From: Portisch Date: Wed, 14 Aug 2019 12:45:01 +0200 Subject: [PATCH] fix warning: throw will always call terminate --- libsrc/grabber/amlogic/IonBuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/grabber/amlogic/IonBuffer.h b/libsrc/grabber/amlogic/IonBuffer.h index 457114b4..9764fa4c 100644 --- a/libsrc/grabber/amlogic/IonBuffer.h +++ b/libsrc/grabber/amlogic/IonBuffer.h @@ -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;