From 4d36663a841c06c6b4786191ee9e84e20ca73cb1 Mon Sep 17 00:00:00 2001 From: andriish Date: Thu, 4 Apr 2024 21:38:15 +0200 Subject: [PATCH] Update context.cpp to use "Using" instead of typedef Update context.cpp to use "Using" instead of typedef --- source/context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/context.cpp b/source/context.cpp index 5aea93e9..e7b81494 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}