Skip to content

Commit 4d8973e

Browse files
committed
Remove include/pybind11/smart_holder.h
1 parent f01bc09 commit 4d8973e

20 files changed

+0
-45
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ set(PYBIND11_HEADERS
164164
include/pybind11/operators.h
165165
include/pybind11/pybind11.h
166166
include/pybind11/pytypes.h
167-
include/pybind11/smart_holder.h
168167
include/pybind11/stl.h
169168
include/pybind11/stl_bind.h
170169
include/pybind11/stl/filesystem.h

include/pybind11/smart_holder.h

Lines changed: 0 additions & 14 deletions
This file was deleted.

tests/extra_python_package/test_files.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
"include/pybind11/options.h",
4444
"include/pybind11/pybind11.h",
4545
"include/pybind11/pytypes.h",
46-
"include/pybind11/smart_holder.h",
4746
"include/pybind11/stl.h",
4847
"include/pybind11/stl_bind.h",
4948
"include/pybind11/trampoline_self_life_support.h",

tests/test_class_sh_basic.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include <pybind11/smart_holder.h>
2-
31
#include "pybind11_tests.h"
42

53
#include <memory>

tests/test_class_sh_disowning.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include <pybind11/smart_holder.h>
2-
31
#include "pybind11_tests.h"
42

53
#include <memory>

tests/test_class_sh_disowning_mi.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include <pybind11/smart_holder.h>
2-
31
#include "pybind11_tests.h"
42

53
#include <memory>

tests/test_class_sh_factory_constructors.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include <pybind11/smart_holder.h>
2-
31
#include "pybind11_tests.h"
42

53
#include <memory>

tests/test_class_sh_inheritance.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include <pybind11/smart_holder.h>
2-
31
#include "pybind11_tests.h"
42

53
#include <memory>

tests/test_class_sh_mi_thunks.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#include <pybind11/pybind11.h>
2-
#include <pybind11/smart_holder.h>
3-
41
#include "pybind11_tests.h"
52

63
#include <cstddef>

tests/test_class_sh_property.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// valu(e), ref(erence), ptr or p (pointer), r = rvalue, m = mutable, c = const,
44
// sh = shared_ptr, uq = unique_ptr.
55

6-
#include "pybind11/smart_holder.h"
76
#include "pybind11_tests.h"
87

98
#include <memory>

tests/test_class_sh_property_non_owning.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include "pybind11/smart_holder.h"
21
#include "pybind11_tests.h"
32

43
#include <cstddef>

tests/test_class_sh_shared_ptr_copy_move.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include <pybind11/smart_holder.h>
2-
31
#include "pybind11_tests.h"
42

53
#include <memory>

tests/test_class_sh_trampoline_basic.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include <pybind11/smart_holder.h>
2-
31
#include "pybind11_tests.h"
42

53
#include <memory>

tests/test_class_sh_trampoline_self_life_support.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
#include "pybind11/smart_holder.h"
65
#include "pybind11/trampoline_self_life_support.h"
76
#include "pybind11_tests.h"
87

tests/test_class_sh_trampoline_shared_from_this.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
#include "pybind11/smart_holder.h"
65
#include "pybind11_tests.h"
76

87
#include <memory>

tests/test_class_sh_trampoline_shared_ptr_cpp_arg.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
#include "pybind11/smart_holder.h"
65
#include "pybind11_tests.h"
76

87
#include <utility>

tests/test_class_sh_trampoline_unique_ptr.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
#include "pybind11/smart_holder.h"
65
#include "pybind11/trampoline_self_life_support.h"
76
#include "pybind11_tests.h"
87

tests/test_class_sh_unique_ptr_custom_deleter.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include <pybind11/smart_holder.h>
2-
31
#include "pybind11_tests.h"
42

53
#include <memory>

tests/test_class_sh_unique_ptr_member.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include <pybind11/smart_holder.h>
2-
31
#include "pybind11_tests.h"
42

53
#include <memory>

tests/test_class_sh_virtual_py_cpp_mix.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include <pybind11/smart_holder.h>
2-
31
#include "pybind11_tests.h"
42

53
#include <memory>

0 commit comments

Comments
 (0)