Skip to content

Commit

Permalink
Add 'see #5200'
Browse files Browse the repository at this point in the history
  • Loading branch information
colesbury committed Jun 26, 2024
1 parent 3752a80 commit 94f8b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/detail/internals.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ using instance_map = std::unordered_multimap<const void *, instance *>;
struct instance_map_shard {
std::mutex mutex;
instance_map registered_instances;
// alignas(64) would be better, but causes compile errors in macOS before 10.14
// alignas(64) would be better, but causes compile errors in macOS before 10.14 (see #5200)
char padding[64 - (sizeof(std::mutex) + sizeof(instance_map)) % 64];
};

Expand Down

0 comments on commit 94f8b9e

Please sign in to comment.