Page MenuHomePhabricator

test: Remove const to work around compiler error on xenial
ClosedPublic

Authored by PiRK on Feb 1 2021, 08:38.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC7e535aabd808: test: Remove const to work around compiler error on xenial
Summary

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;

This is a backport of Core PR18975

Test Plan

ninja check