Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/core/rps_util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static inline uint32_t rpsCountBits(uint32_t value)
{
#ifdef RPS_HAS_POPCNT
return __popcnt(value);
#elif RPS_HAS_BUILTIN_POP_COUNT
#elif defined(RPS_HAS_BUILTIN_POPCOUNT)
return (uint32_t)__builtin_popcount(value);
#else
uint32_t a = (value & 0x55555555u) + ((value >> 1u) & 0x55555555u);
Expand Down Expand Up @@ -1312,7 +1312,6 @@ namespace rps
}

private:

template <typename TFunc, typename TSelf>
static void IterateRange(TSelf& self, size_t beginIndex, size_t endIndex, TFunc elementHandler)
{
Expand Down