mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #575 from moneroexamples/fix_call_of_overloaded_gcc61
fix: error: call of overloaded ‘list(int, <brace-enclosed initializer…
This commit is contained in:
commit
c1995e9dbb
@ -296,7 +296,7 @@ void NameAndTypeResolver::linearizeBaseContracts(ContractDefinition& _contract)
|
||||
{
|
||||
// order in the lists is from derived to base
|
||||
// list of lists to linearize, the last element is the list of direct bases
|
||||
list<list<ContractDefinition const*>> input(1, {});
|
||||
list<list<ContractDefinition const*>> input(1, list<ContractDefinition const*>{});
|
||||
for (ASTPointer<InheritanceSpecifier> const& baseSpecifier: _contract.baseContracts())
|
||||
{
|
||||
UserDefinedTypeName const& baseName = baseSpecifier->name();
|
||||
|
Loading…
Reference in New Issue
Block a user