aboutsummaryrefslogtreecommitdiffstats
path: root/Types.h
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.h
parent307a83e1dea95cd144a955aa0891476e7dd159de (diff)
downloaddexon-solidity-a5d32e489451750c4ff4de05cf807326fafc02a6.tar.gz
dexon-solidity-a5d32e489451750c4ff4de05cf807326fafc02a6.tar.zst
dexon-solidity-a5d32e489451750c4ff4de05cf807326fafc02a6.zip
Define strings = vector<string>
Diffstat (limited to 'Types.h')
-rw-r--r--Types.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Types.h b/Types.h
index 031d45ea..deabe116 100644
--- a/Types.h
+++ b/Types.h
@@ -352,10 +352,10 @@ public:
virtual Category getCategory() const override { return Category::FUNCTION; }
explicit FunctionType(FunctionDefinition const& _function, bool _isInternal = true);
- FunctionType(std::vector<std::string> const& _parameterTypes,
- std::vector<std::string> const& _returnParameterTypes,
+ FunctionType(strings const& _parameterTypes, strings const& _returnParameterTypes,
Location _location = Location::INTERNAL):
- FunctionType(parseElementaryTypeVector(_parameterTypes), parseElementaryTypeVector(_returnParameterTypes), _location) {}
+ FunctionType(parseElementaryTypeVector(_parameterTypes), parseElementaryTypeVector(_returnParameterTypes),
+ _location) {}
FunctionType(TypePointers const& _parameterTypes, TypePointers const& _returnParameterTypes,
Location _location = Location::INTERNAL):
m_parameterTypes(_parameterTypes), m_returnParameterTypes(_returnParameterTypes),
@@ -375,7 +375,7 @@ public:
std::string getCanonicalSignature() const;
private:
- static TypePointers parseElementaryTypeVector(std::vector<std::string> const& _types);
+ static TypePointers parseElementaryTypeVector(strings const& _types);
TypePointers m_parameterTypes;
TypePointers m_returnParameterTypes;