Browse Source

Merge pull request #1076 from LefterisJP/sol_EventFunctionTypeCtor

Initialize FunctionType's m_isConstant attribute in the Event Constructo...
cl-refactor
chriseth 10 years ago
parent
commit
457067fb43
  1. 2
      libsolidity/Types.cpp

2
libsolidity/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;

Loading…
Cancel
Save