diff --git a/source/context.cpp b/source/context.cpp index 21deda9d..aaf199b3 100644 --- a/source/context.cpp +++ b/source/context.cpp @@ -89,7 +89,7 @@ const char *main_module_header = R"_(#include {0} -typedef std::function< pybind11::module & (std::string const &) > ModuleGetter; +using ModuleGetter = std::function< pybind11::module & (std::string const &) >; {1}