From 51f724bae93d9d7fafa514cc14a7b42c02039d36 Mon Sep 17 00:00:00 2001 From: Frederik Baetens Date: Mon, 9 Oct 2023 18:42:59 +0100 Subject: [PATCH] JSExceptionThrown noexcept default Co-authored-by: Harris Hancock --- src/workerd/jsg/util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/workerd/jsg/util.h b/src/workerd/jsg/util.h index fc783c91ff8..65e11369603 100644 --- a/src/workerd/jsg/util.h +++ b/src/workerd/jsg/util.h @@ -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: