Skip to content

Commit 35cb542

Browse files
authored
OMG: PYBIND11_INTERNALS_SH_DEF was defined the wrong way around since #3283 (merged 2021-09-20). (#5026)
1 parent b8cf161 commit 35cb542

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/pybind11/detail/internals.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,9 @@ struct type_info {
316316
/// Classic / Conservative / Progressive cross-module compatibility
317317
#ifndef PYBIND11_INTERNALS_SH_DEF
318318
# if defined(PYBIND11_USE_SMART_HOLDER_AS_DEFAULT)
319-
# define PYBIND11_INTERNALS_SH_DEF ""
320-
# else
321319
# define PYBIND11_INTERNALS_SH_DEF "_sh_def"
320+
# else
321+
# define PYBIND11_INTERNALS_SH_DEF ""
322322
# endif
323323
#endif
324324

0 commit comments

Comments
 (0)