From 85cb9b18e4be152c4612d9618fde6685d34ca7c1 Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Sun, 5 Nov 2017 03:47:23 -0600 Subject: [PATCH] Fix bind failure due to function overload and move to std bind --- src/runner/pythonrunner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runner/pythonrunner.cpp b/src/runner/pythonrunner.cpp index 6983a0c..59f8a8d 100644 --- a/src/runner/pythonrunner.cpp +++ b/src/runner/pythonrunner.cpp @@ -963,7 +963,7 @@ bool PythonRunner::initPython(const QString &pythonPath) bool handled_exec_file(bpy::str filename, bpy::object globals = bpy::object(), bpy::object locals = bpy::object()) { - return bpy::handle_exception(boost::bind(bpy::exec_file, filename, globals, locals)); + return bpy::handle_exception(std::bind(bpy::exec_file, filename, globals, locals)); }