Skip to content

Commit 050e2ee

Browse files
committed
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;
1 parent b9c504c commit 050e2ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/validationinterface_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ BOOST_AUTO_TEST_CASE(unregister_validation_interface_race)
2323
// Start thread to generate notifications
2424
std::thread gen{[&] {
2525
const CBlock block_dummy;
26-
const BlockValidationState state_dummy;
26+
BlockValidationState state_dummy;
2727
while (generate) {
2828
GetMainSignals().BlockChecked(block_dummy, state_dummy);
2929
}

0 commit comments

Comments
 (0)