From 83ecbf346da95c1f2fd068134944e784cf83d29c Mon Sep 17 00:00:00 2001 From: sowle Date: Tue, 26 May 2020 20:41:00 +0300 Subject: [PATCH] fixed conversion in wallet_error_base --- src/wallet/wallet_errors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet_errors.h b/src/wallet/wallet_errors.h index a0b9834e..79b5d06a 100644 --- a/src/wallet/wallet_errors.h +++ b/src/wallet/wallet_errors.h @@ -68,7 +68,7 @@ namespace tools return ss.str(); } - virtual char const* what() const + virtual const char* what() const { m_what = to_string(); return m_what.c_str();