Skip to content

Commit

Permalink
JSExceptionThrown noexcept default
Browse files Browse the repository at this point in the history
    Co-authored-by: Harris Hancock <harris@cloudflare.com>
  • Loading branch information
Frederik-Baetens committed Oct 9, 2023
1 parent 4e8d3f2 commit 51f724b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/workerd/jsg/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ typedef unsigned int uint;
class JsExceptionThrown: public std::exception {
public:
JsExceptionThrown();
~JsExceptionThrown() noexcept = default; // We must match `std::exception`'s noexcept.
const char* what() const noexcept override;

private:
Expand Down

0 comments on commit 51f724b

Please sign in to comment.