Revert "Revert this to inline."

This reverts commit f721e824f478b7443528dc801bbe14e534c3c6f7.
This commit is contained in:
Pentarctagon 2022-03-29 23:23:34 -05:00
parent f721e824f4
commit d04917bb3a
No known key found for this signature in database
GPG Key ID: 9456BC54A21DBFA0

View File

@ -140,7 +140,7 @@ constexpr std::size_t bit_width(const T&) {
* type.
*/
template<typename N>
inline unsigned int count_ones(N n) {
constexpr unsigned int count_ones(N n) {
unsigned int r = 0;
while (n) {
n &= n-1;