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:
1 parent
071200993f
commit
298bf5d563
1 file changed
+1
-1
@@ -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