Update tests/test_make_alias.cpp

Co-authored-by: Sebastian Koslowski <sebastian.koslowski@gmail.com>
This commit is contained in:
Tom de Geus 2022-02-26 22:37:31 +01:00 committed by GitHub
parent 549f3b7e54
commit eb2ecf1033
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,6 @@
#endif #endif
TEST_SUBMODULE(_make_alias, m) { TEST_SUBMODULE(_make_alias, m) {
ma = m.make_alias(pybind11::module::strip_leading_underscore_from_name); ma = m.make_alias(pybind11::module::strip_leading_underscore_from_name{});
ma.def("foo", []() -> {}); ma.def("foo", []() -> {});
} }