From 95368faccd3f6761dc81103b44b5c0515f4fbe94 Mon Sep 17 00:00:00 2001 From: sowle Date: Thu, 4 Apr 2024 20:58:02 +0200 Subject: [PATCH] yet another attempt to fix macOS warnings and errors (CMAKE_OSX_DEPLOYMENT_TARGET: 10.12 -> 10.13) --- CMakeLists.txt | 2 +- src/wallet/wallet2.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dda630e4..4422f361 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,7 +69,7 @@ find_package(OpenSSL REQUIRED) if(APPLE) - set(CMAKE_OSX_DEPLOYMENT_TARGET 10.12) + set(CMAKE_OSX_DEPLOYMENT_TARGET 10.13) endif() set(USE_PCH FALSE CACHE BOOL "Use shared precompiled headers") diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index a44b69fa..e32d61f9 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -234,6 +234,7 @@ namespace tools wallet2(const wallet2&) = delete; public: wallet2(); + virtual ~wallet2() {} static std::string transfer_flags_to_str(uint32_t flags);