From eb65bfb80ecc52f3a180a6df1f54813a76a59d4a Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Sat, 8 Oct 2022 01:36:42 -0700 Subject: [PATCH] Remove unnamed namespace for compatibility with CUDA 11.7 (it does not make much sense anyway). --- tests/test_class_sh_shared_ptr_copy_move.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test_class_sh_shared_ptr_copy_move.cpp b/tests/test_class_sh_shared_ptr_copy_move.cpp index a803d49f8..1d4ec3cdf 100644 --- a/tests/test_class_sh_shared_ptr_copy_move.cpp +++ b/tests/test_class_sh_shared_ptr_copy_move.cpp @@ -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