Handle Py::Callable better.

This commit is contained in:
Erik Ogenvik 2018-07-24 21:18:26 +02:00
parent 23117f466b
commit 653d5a38ba
11 changed files with 46 additions and 37 deletions

View file

@ -26,7 +26,7 @@
/// \brief PythonArithmeticScript
///
/// @param script Python instance object implementing the script
PythonArithmeticScript::PythonArithmeticScript(Py::Callable script) :
PythonArithmeticScript::PythonArithmeticScript(Py::Object script) :
m_script(std::move(script))
{
}