Skip to content

Commit

Permalink
fix: c++20 concepts unsupported on clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
g-tejas committed Jul 22, 2024
1 parent 8c60775 commit f350c1a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/include/loom/fifo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ template <typename T>
concept HasNextPointer = has_next_pointer<T>::value;

/// Intrusive Linked List implementation where the type must contain the `next` pointer
template <typename T>
requires HasNextPointer<T>
template <HasNextPointer T>
class fifo {
private:
T *head = nullptr;
Expand Down

0 comments on commit f350c1a

Please sign in to comment.