Skip to content

Commit

Permalink
Merge pull request #1286 from Frederik-Baetens/fbaetens/jsexception_n…
Browse files Browse the repository at this point in the history
…oexcept

JSExceptionThrown noexcept default
  • Loading branch information
harrishancock authored Oct 10, 2023
2 parents 6244b3a + 9131e3d commit a22a474
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 a22a474

Please sign in to comment.