aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2020-05-14 18:31:57 +0200
committerWladimir J. van der Laan <laanwj@protonmail.com>2020-05-14 18:40:57 +0200
commit050e2ee6f28e7b31c167013be7313726e34084e9 (patch)
treed95c802428554f2d2f940678929a887ff3c091ca /src
parentb9c504cbc4ba45a32abb86b67a277b75a17f13a4 (diff)
test: Remove const to work around compiler error on xenial
Fix the following error in travis: test/validationinterface_tests.cpp:26:36: error: default initialization of an object of const type 'const BlockValidationState' without a user-provided default constructor const BlockValidationState state_dummy;
Diffstat (limited to 'src')
-rw-r--r--src/test/validationinterface_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/validationinterface_tests.cpp b/src/test/validationinterface_tests.cpp
index d2fc20e625..ceba689e52 100644
--- a/src/test/validationinterface_tests.cpp
+++ b/src/test/validationinterface_tests.cpp
@@ -23,7 +23,7 @@ BOOST_AUTO_TEST_CASE(unregister_validation_interface_race)
// Start thread to generate notifications
std::thread gen{[&] {
const CBlock block_dummy;
- const BlockValidationState state_dummy;
+ BlockValidationState state_dummy;
while (generate) {
GetMainSignals().BlockChecked(block_dummy, state_dummy);
}