diff options
author | Bob Summerwill <bob@summerwill.net> | 2016-05-17 15:25:15 +0800 |
---|---|---|
committer | Bob Summerwill <bob@summerwill.net> | 2016-05-17 15:25:15 +0800 |
commit | c1995e9dbbb78f27959265793373e2a027f091ba (patch) | |
tree | aed659de7c824e87d704b9c809ada9ba6194f852 | |
parent | 4b445b898e49c79f4f0ad80aa656ee33ca5b0ebc (diff) | |
parent | 9d237fbfdc1e3dff7b725987a3716341cce8556a (diff) | |
download | dexon-solidity-c1995e9dbbb78f27959265793373e2a027f091ba.tar.gz dexon-solidity-c1995e9dbbb78f27959265793373e2a027f091ba.tar.zst dexon-solidity-c1995e9dbbb78f27959265793373e2a027f091ba.zip |
Merge pull request #575 from moneroexamples/fix_call_of_overloaded_gcc61
fix: error: call of overloaded ‘list(int, <brace-enclosed initializer…
-rw-r--r-- | libsolidity/analysis/NameAndTypeResolver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/NameAndTypeResolver.cpp b/libsolidity/analysis/NameAndTypeResolver.cpp index 5e407383..26d38cfe 100644 --- a/libsolidity/analysis/NameAndTypeResolver.cpp +++ b/libsolidity/analysis/NameAndTypeResolver.cpp @@ -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(); |