Skip to content

Commit

Permalink
test: refactor: declare NoMalleation const auto
Browse files Browse the repository at this point in the history
To avoid linker error on some platforms:
    bitcoin/bitcoin#21526 (comment)

Co-authored-by: Russ Yanofsky <[email protected]>
  • Loading branch information
jamesob and ryanofsky committed Sep 15, 2021
1 parent 0712009 commit 298bf5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/util/chainstate.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#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
Expand Down

0 comments on commit 298bf5d

Please sign in to comment.