Commit 5a439f08 authored by Nikita Sirgienko's avatar Nikita Sirgienko

[Python] Use static_cast instead of dynamic_cast

parent 6948aec7
......@@ -52,7 +52,7 @@ void PythonExpression::evaluate()
m_tempFile = nullptr;
}
PythonSession* pythonSession = dynamic_cast<PythonSession*>(session());
PythonSession* pythonSession = static_cast<PythonSession*>(session());
pythonSession->runExpression(this);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment