Skip to content

Commit

Permalink
export the F14Table kEmptyTagVector
Browse files Browse the repository at this point in the history
Summary: This is an empty chunk used in place of null pointers so that reads in empty tables can avoid null checks.

Reviewed By: davidtgoldblatt

Differential Revision: D46907638

fbshipit-source-id: 67f04b87c655132aad745a368d767bd024f77006
  • Loading branch information
yfeldblum authored and facebook-github-bot committed Jun 24, 2023
1 parent 5648b86 commit 9bd57cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion folly/container/detail/F14Table.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ using EmptyTagVectorType = std::aligned_storage_t<
sizeof(TagVector) + kRequiredVectorAlignment,
alignof(max_align_t)>;

extern EmptyTagVectorType kEmptyTagVector;
FOLLY_EXPORT extern EmptyTagVectorType kEmptyTagVector;

template <typename ItemType>
struct alignas(kRequiredVectorAlignment) F14Chunk {
Expand Down

0 comments on commit 9bd57cd

Please sign in to comment.