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:
Bob Summerwill 2016-05-17 00:25:15 -07:00
commit c1995e9dbb

View File

@ -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();