aboutsummaryrefslogtreecommitdiffstats
path: root/Types.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-17 16:24:58 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-17 16:24:58 +0800
commitc7e99845740ac81b961ee4b69c496d8d98df8e25 (patch)
tree1747e7391bd524c9a6c9603d9976dabf372f65c6 /Types.cpp
parent500cb69f12a1e048258b1ebb9fa5ea858433ffff (diff)
downloaddexon-solidity-c7e99845740ac81b961ee4b69c496d8d98df8e25.tar
dexon-solidity-c7e99845740ac81b961ee4b69c496d8d98df8e25.tar.gz
dexon-solidity-c7e99845740ac81b961ee4b69c496d8d98df8e25.tar.bz2
dexon-solidity-c7e99845740ac81b961ee4b69c496d8d98df8e25.tar.lz
dexon-solidity-c7e99845740ac81b961ee4b69c496d8d98df8e25.tar.xz
dexon-solidity-c7e99845740ac81b961ee4b69c496d8d98df8e25.tar.zst
dexon-solidity-c7e99845740ac81b961ee4b69c496d8d98df8e25.zip
Initialize FunctionType's m_isConstant attribute in the Event Constructor
Diffstat (limited to 'Types.cpp')
-rw-r--r--Types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Types.cpp b/Types.cpp
index 5d753645..b41834d8 100644
--- a/Types.cpp
+++ b/Types.cpp
@@ -769,7 +769,7 @@ FunctionType::FunctionType(VariableDeclaration const& _varDecl):
}
FunctionType::FunctionType(const EventDefinition& _event):
- m_location(Location::Event), m_declaration(&_event)
+ m_location(Location::Event), m_isConstant(true), m_declaration(&_event)
{
TypePointers params;
vector<string> paramNames;