diff --git a/include/xrpl/basics/contract.h b/include/xrpl/basics/contract.h index 7e92b32503..8de90fa5e6 100644 --- a/include/xrpl/basics/contract.h +++ b/include/xrpl/basics/contract.h @@ -26,7 +26,7 @@ LogThrow(std::string const& title); control to the next matching exception handler, if any. Otherwise, std::terminate will be called. */ -[[noreturn]] inline void XRPL_NO_SANITIZE_ADDRESS +[[noreturn]] XRPL_NO_SANITIZE_ADDRESS inline void Rethrow() { LogThrow("Re-throwing exception"); @@ -34,7 +34,7 @@ Rethrow() } template -[[noreturn]] inline void XRPL_NO_SANITIZE_ADDRESS +[[noreturn]] XRPL_NO_SANITIZE_ADDRESS inline void Throw(Args&&... args) { static_assert(std::is_convertible::value, "Exception must derive from std::exception.");