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.h | |
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.h')
-rw-r--r-- | Types.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |