From c7e4cde8e097c4fd2136850435f77e9a5ed66781 Mon Sep 17 00:00:00 2001 From: andriish Date: Tue, 9 Apr 2024 01:47:25 +0200 Subject: [PATCH] Update context.cpp to use "Using" instead of typedef (#295) --- source/context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/context.cpp b/source/context.cpp index 79547868..74aeac1b 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}