mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
Don't use double-underscores
double-underscore names are reserved for the compiler/STL.
This commit is contained in:
parent
4338e38cd6
commit
5ce6c01476
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ namespace llarp
|
|||
|
||||
template < typename InputIt >
|
||||
constexpr std::size_t
|
||||
__count_array_bits(InputIt begin, InputIt end)
|
||||
count_array_bits_impl(InputIt begin, InputIt end)
|
||||
{
|
||||
return std::accumulate(begin, end, 0, [](auto acc, auto val) {
|
||||
return acc + count_bits(val);
|
||||
|
@ -43,7 +43,7 @@ namespace llarp
|
|||
constexpr std::size_t
|
||||
count_array_bits(const T& array)
|
||||
{
|
||||
return __count_array_bits(std::begin(array), std::end(array));
|
||||
return count_array_bits_impl(std::begin(array), std::end(array));
|
||||
}
|
||||
} // namespace bits
|
||||
} // namespace llarp
|
||||
|
|
Loading…
Reference in a new issue