Skip to content

Commit 298bf5d

Browse files
jamesobryanofsky
andcommitted
test: refactor: declare NoMalleation const auto
To avoid linker error on some platforms: bitcoin/bitcoin#21526 (comment) Co-authored-by: Russ Yanofsky <[email protected]>
1 parent 0712009 commit 298bf5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/util/chainstate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#include <boost/test/unit_test.hpp>
1818

19-
auto NoMalleation = [](CAutoFile& file, SnapshotMetadata& meta){};
19+
const auto NoMalleation = [](CAutoFile& file, SnapshotMetadata& meta){};
2020

2121
/**
2222
* Create and activate a UTXO snapshot, optionally providing a function to

0 commit comments

Comments
 (0)