aboutsummaryrefslogtreecommitdiffstats
path: root/Types.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-12 20:29:16 +0800
committerChristian <c@ethdev.com>2015-01-12 20:29:16 +0800
commita5d32e489451750c4ff4de05cf807326fafc02a6 (patch)
tree4c12508d5c69ef530c3e5ce990e7268517037013 /Types.cpp
parent307a83e1dea95cd144a955aa0891476e7dd159de (diff)
downloaddexon-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.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Types.cpp b/Types.cpp
index b3eae202..7ca1dc6d 100644
--- a/Types.cpp
+++ b/Types.cpp
@@ -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());