Skip to content

Commit 30fcc22

Browse files
committed
Add concept.
1 parent adfd21e commit 30fcc22

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/backend/decayrange.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
namespace snmalloc
88
{
9-
template<typename Rep>
9+
template<SNMALLOC_CONCEPT(RBRep) Rep>
1010
class RepList
1111
{
1212
uintptr_t head = 0;
@@ -71,7 +71,7 @@ namespace snmalloc
7171
* The primary use case is single-threaded access, where other threads
7272
* can attempt to steal all the values.
7373
*/
74-
template<typename Rep>
74+
template<SNMALLOC_CONCEPT(RBRep) Rep>
7575
class RepStack
7676
{
7777
static constexpr auto empty = RepList<Rep>{};

0 commit comments

Comments
 (0)