aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-01-20 16:25:14 +0100
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-02-01 11:33:35 +0100
commitfa451d4b60ee0538b3ea6b946740a64734b35b6d (patch)
tree76f655f4d1fcd30c7d475ea4819e9a824f5cc996 /src/bench
parente1bf5470f919cf212703466411968916db8ae61f (diff)
Fix clang-tidy readability-const-return-type violations
Diffstat (limited to 'src/bench')
-rw-r--r--src/bench/gcs_filter.cpp2
-rw-r--r--src/bench/wallet_loading.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bench/gcs_filter.cpp b/src/bench/gcs_filter.cpp
index 51fbe15760..0af4ee98fe 100644
--- a/src/bench/gcs_filter.cpp
+++ b/src/bench/gcs_filter.cpp
@@ -5,7 +5,7 @@
#include <bench/bench.h>
#include <blockfilter.h>
-static const GCSFilter::ElementSet GenerateGCSTestElements()
+static GCSFilter::ElementSet GenerateGCSTestElements()
{
GCSFilter::ElementSet elements;
diff --git a/src/bench/wallet_loading.cpp b/src/bench/wallet_loading.cpp
index 2f7dc53b0c..6b09adcc9d 100644
--- a/src/bench/wallet_loading.cpp
+++ b/src/bench/wallet_loading.cpp
@@ -24,7 +24,7 @@ using wallet::WALLET_FLAG_DESCRIPTORS;
using wallet::WalletContext;
using wallet::WalletDatabase;
-static const std::shared_ptr<CWallet> BenchLoadWallet(std::unique_ptr<WalletDatabase> database, WalletContext& context, DatabaseOptions& options)
+static std::shared_ptr<CWallet> BenchLoadWallet(std::unique_ptr<WalletDatabase> database, WalletContext& context, DatabaseOptions& options)
{
bilingual_str error;
std::vector<bilingual_str> warnings;