From bfa68e4b8876fd47b397c6d51ac9f79594987762 Mon Sep 17 00:00:00 2001 From: sowle Date: Thu, 10 Oct 2024 20:45:43 +0200 Subject: [PATCH] an attempt to fix gcc compilation --- src/wallet/wallet_errors.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/wallet/wallet_errors.h b/src/wallet/wallet_errors.h index 33b0be51..7479159b 100644 --- a/src/wallet/wallet_errors.h +++ b/src/wallet/wallet_errors.h @@ -323,9 +323,7 @@ namespace tools //---------------------------------------------------------------------------------------------------- struct wallet_error_resync_needed : public std::exception { - wallet_error_resync_needed() - : std::exception("wallet_error_resync_needed") - {} + virtual const char* what() const noexcept override { return "wallet_error_resync_needed"; } }; //---------------------------------------------------------------------------------------------------- struct tx_parse_error : public refresh_error