mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-13 00:47:05 +02:00
test: refactor: declare NoMalleation const auto
To avoid linker error on some platforms: https://github.com/bitcoin/bitcoin/pull/21526#discussion_r709404714 Co-authored-by: Russ Yanofsky <russ@yanofsky.org>
This commit is contained in:
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
||||||
auto NoMalleation = [](CAutoFile& file, SnapshotMetadata& meta){};
|
const auto NoMalleation = [](CAutoFile& file, SnapshotMetadata& meta){};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create and activate a UTXO snapshot, optionally providing a function to
|
* Create and activate a UTXO snapshot, optionally providing a function to
|
||||||
|
Reference in New Issue
Block a user