diff options
author | Christian <c@ethdev.com> | 2015-01-12 20:29:16 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2015-01-12 20:29:16 +0800 |
commit | a5d32e489451750c4ff4de05cf807326fafc02a6 (patch) | |
tree | 4c12508d5c69ef530c3e5ce990e7268517037013 /Types.cpp | |
parent | 307a83e1dea95cd144a955aa0891476e7dd159de (diff) | |
download | dexon-solidity-a5d32e489451750c4ff4de05cf807326fafc02a6.tar.gz dexon-solidity-a5d32e489451750c4ff4de05cf807326fafc02a6.tar.zst dexon-solidity-a5d32e489451750c4ff4de05cf807326fafc02a6.zip |
Define strings = vector<string>
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -205,11 +205,11 @@ TypePointer IntegerType::binaryOperatorResult(Token::Value _operator, TypePointe const MemberList IntegerType::AddressMemberList = MemberList({{"balance", make_shared<IntegerType >(256)}, - {"callstring32", make_shared<FunctionType>(vector<string>{"string32"}, - vector<string>{}, FunctionType::Location::BARE)}, - {"callstring32string32", make_shared<FunctionType>(vector<string>{"string32", "string32"}, - vector<string>{}, FunctionType::Location::BARE)}, - {"send", make_shared<FunctionType>(vector<string>{"uint"}, vector<string>{}, FunctionType::Location::SEND)}}); + {"callstring32", make_shared<FunctionType>(strings{"string32"}, strings{}, + FunctionType::Location::BARE)}, + {"callstring32string32", make_shared<FunctionType>(strings{"string32", "string32"}, + strings{}, FunctionType::Location::BARE)}, + {"send", make_shared<FunctionType>(strings{"uint"}, strings{}, FunctionType::Location::SEND)}}); shared_ptr<IntegerConstantType const> IntegerConstantType::fromLiteral(string const& _literal) { @@ -619,7 +619,7 @@ string FunctionType::getCanonicalSignature() const return ret + ")"; } -TypePointers FunctionType::parseElementaryTypeVector(vector<string> const& _types) +TypePointers FunctionType::parseElementaryTypeVector(strings const& _types) { TypePointers pointers; pointers.reserve(_types.size()); |