Skip to content

Commit

Permalink
Add concept.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjp41 committed Mar 23, 2022
1 parent adfd21e commit 30fcc22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/decayrange.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace snmalloc
{
template<typename Rep>
template<SNMALLOC_CONCEPT(RBRep) Rep>
class RepList
{
uintptr_t head = 0;
Expand Down Expand Up @@ -71,7 +71,7 @@ namespace snmalloc
* The primary use case is single-threaded access, where other threads
* can attempt to steal all the values.
*/
template<typename Rep>
template<SNMALLOC_CONCEPT(RBRep) Rep>
class RepStack
{
static constexpr auto empty = RepList<Rep>{};
Expand Down

0 comments on commit 30fcc22

Please sign in to comment.