Skip to content

Commit ffa3eed

Browse files
committed
Manually fixing up another clang-tidy mishap missed before.
1 parent 9d863ee commit ffa3eed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/pybind11/detail/type_caster_base.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -663,13 +663,13 @@ class type_caster_generic {
663663
if (type->operator_new) {
664664
vptr = type->operator_new(type->type_size);
665665
} else {
666-
#if defined(__cpp_aligned_new) && (!defined(_MSC_VER) || _MSC_VER >= 1912)
666+
#if defined(__cpp_aligned_new) && (!defined(_MSC_VER) || _MSC_VER >= 1912)
667667
if (type->type_align > __STDCPP_DEFAULT_NEW_ALIGNMENT__) {
668668
vptr = ::operator new(type->type_size, std::align_val_t(type->type_align));
669669
} else {
670-
#endif
671670
vptr = ::operator new(type->type_size);
672671
}
672+
#endif
673673
}
674674
}
675675
value = vptr;

0 commit comments

Comments
 (0)