Skip to content

Commit 74df9ee

Browse files
author
Dan Smith
committed
noexcept(false)
1 parent b5181bc commit 74df9ee

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

externals/nitro/modules/c++/nitf/include/nitf/Object.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class NITRO_NITFCPP_API Object
106106
}
107107

108108
public:
109-
virtual ~Object() { releaseHandle(); }
109+
virtual ~Object() noexcept(false) { releaseHandle(); }
110110

111111
//! Is the object valid (native object not null)?
112112
virtual bool isValid() const noexcept

externals/nitro/modules/c++/nitf/include/nitf/SubWindow.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ DECLARE_CLASS(SubWindow)
7777
SubWindow(uint32_t rows, uint32_t cols, uint32_t* bands = nullptr, uint32_t numBands = 0);
7878

7979
//! Destructor
80-
~SubWindow();
80+
~SubWindow() noexcept(false);
8181

8282
uint32_t getStartRow() const;
8383
uint32_t getNumRows() const;

0 commit comments

Comments
 (0)