Skip to content

Commit

Permalink
noexcept(false)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Smith committed Jan 10, 2022
1 parent b5181bc commit 74df9ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion externals/nitro/modules/c++/nitf/include/nitf/Object.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class NITRO_NITFCPP_API Object
}

public:
virtual ~Object() { releaseHandle(); }
virtual ~Object() noexcept(false) { releaseHandle(); }

//! Is the object valid (native object not null)?
virtual bool isValid() const noexcept
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ DECLARE_CLASS(SubWindow)
SubWindow(uint32_t rows, uint32_t cols, uint32_t* bands = nullptr, uint32_t numBands = 0);

//! Destructor
~SubWindow();
~SubWindow() noexcept(false);

uint32_t getStartRow() const;
uint32_t getNumRows() const;
Expand Down

0 comments on commit 74df9ee

Please sign in to comment.