From bbb03e153ef169e74ffc60d9ca8d6e171f506a81 Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Wed, 4 Feb 2026 15:54:50 +0000 Subject: [PATCH] fixed asan escape macro before return type Signed-off-by: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> --- include/xrpl/basics/contract.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.");