diff --git a/src/test/util/chainstate.h b/src/test/util/chainstate.h index 38a6be7e9a..81ea4c38f5 100644 --- a/src/test/util/chainstate.h +++ b/src/test/util/chainstate.h @@ -16,7 +16,7 @@ #include -auto NoMalleation = [](CAutoFile& file, SnapshotMetadata& meta){}; +const auto NoMalleation = [](CAutoFile& file, SnapshotMetadata& meta){}; /** * Create and activate a UTXO snapshot, optionally providing a function to