Fix missing names for user-defined functions

refs #12393
This commit is contained in:
Gunnar Beutner 2016-08-10 16:42:21 +02:00
parent 8389d01998
commit f0beeba354
1 changed files with 1 additions and 1 deletions

View File

@ -792,7 +792,7 @@ class I2_CONFIG_API FunctionExpression : public DebuggableExpression
public:
FunctionExpression(const String& name, const std::vector<String>& args,
std::map<String, Expression *> *closedVars, Expression *expression, const DebugInfo& debugInfo = DebugInfo())
: DebuggableExpression(debugInfo), m_Args(args), m_ClosedVars(closedVars), m_Expression(expression)
: DebuggableExpression(debugInfo), m_Args(args), m_Name(name), m_ClosedVars(closedVars), m_Expression(expression)
{ }
protected: