Skip to content

Commit

Permalink
fix potential compiler error (ambiguity between T* and T* __restrict
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyMakeev committed Feb 15, 2024
1 parent 711382a commit b37e462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExcaliburHash/ExcaliburHash.h
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ template <typename TKey, typename TValue, unsigned kNumInlineItems = 1, typename
TItem* const firstItem = m_storage;
TItem* const endItem = firstItem + numBuckets;
TItem* EXLBR_RESTRICT currentItem = firstItem + bucketIndex;
TItem* insertItem = nullptr;
TItem* EXLBR_RESTRICT insertItem = nullptr;

while (true)
{
Expand Down

0 comments on commit b37e462

Please sign in to comment.