Skip to content

Commit 0a130f2

Browse files
committed
Assert ABI version 106
1 parent b8cf283 commit 0a130f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: include/pybind11/smart_holder.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#pragma once
66

77
#include "pybind11.h"
8-
static_assert(PYBIND11_INTERNALS_VERSION >= 6,
9-
"pybind11 ABI version 6 is required for smart_holder functionality.");
8+
static_assert(PYBIND11_INTERNALS_VERSION == 106,
9+
"pybind11 ABI version 106 is required for smart_holder functionality.");
1010

1111
// Legacy macros introduced with smart_holder_type_casters implementation in 2021.
1212
// Deprecated.

0 commit comments

Comments
 (0)