aboutsummaryrefslogtreecommitdiffstats
path: root/Types.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-01-29 23:48:39 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-01-30 00:12:17 +0800
commitdcd47be6ca8b408b384dca9737625873ad279464 (patch)
tree45d737437156a47b7a048a63b66425a50e84872f /Types.h
parent005100c4867f133e86a2675be0dd9370fed3e191 (diff)
downloaddexon-solidity-dcd47be6ca8b408b384dca9737625873ad279464.tar.gz
dexon-solidity-dcd47be6ca8b408b384dca9737625873ad279464.tar.zst
dexon-solidity-dcd47be6ca8b408b384dca9737625873ad279464.zip
Removing Function and Param Description
- Removing FunctionDescription and ParamDescription. All the data should now be in the FunctionType - Plus using the FunctionTypePointer alias in a few places
Diffstat (limited to 'Types.h')
-rw-r--r--Types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Types.h b/Types.h
index e2393969..b8ad7449 100644
--- a/Types.h
+++ b/Types.h
@@ -296,7 +296,7 @@ public:
/// Returns the function type of the constructor. Note that the location part of the function type
/// is not used, as this type cannot be the type of a variable or expression.
- std::shared_ptr<FunctionType const> const& getConstructorType() const;
+ FunctionTypePointer const& getConstructorType() const;
/// @returns the identifier of the function with the given name or Invalid256 if such a name does
/// not exist.
@@ -308,7 +308,7 @@ private:
/// members.
bool m_super;
/// Type of the constructor, @see getConstructorType. Lazily initialized.
- mutable std::shared_ptr<FunctionType const> m_constructorType;
+ mutable FunctionTypePointer m_constructorType;
/// List of member types, will be lazy-initialized because of recursive references.
mutable std::unique_ptr<MemberList> m_members;
};