Remove unnamed namespace for compatibility with CUDA 11.7 (it does not make much sense anyway).

This commit is contained in:
Ralf W. Grosse-Kunstleve 2022-10-08 01:36:42 -07:00
parent 38182082f3
commit eb65bfb80e

View File

@ -48,7 +48,6 @@ PYBIND11_TYPE_CASTER_BASE_HOLDER(pybind11_tests::FooShPtr,
PYBIND11_SMART_HOLDER_TYPE_CASTERS(pybind11_tests::FooSmHld)
namespace pybind11_tests {
namespace {
TEST_SUBMODULE(class_sh_shared_ptr_copy_move, m) {
namespace py = pybind11;
@ -110,5 +109,4 @@ TEST_SUBMODULE(class_sh_shared_ptr_copy_move, m) {
});
}
} // namespace
} // namespace pybind11_tests