diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/bitmath_func.hpp | 4 | ||||
-rw-r--r-- | src/core/smallvec_type.hpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/bitmath_func.hpp b/src/core/bitmath_func.hpp index 14e9ed4e4..7a4a5da85 100644 --- a/src/core/bitmath_func.hpp +++ b/src/core/bitmath_func.hpp @@ -178,7 +178,7 @@ static FORCEINLINE T ToggleBit(T &x, const uint8 y) extern const uint8 _ffb_64[64]; /** - * Returns the first occure of a bit in a 6-bit value (from right). + * Returns the first non-zero bit in a 6-bit value (from right). * * Returns the position of the first bit that is not zero, counted from the * LSB. Ie, 110100 returns 2, 000001 returns 0, etc. When x == 0 returns @@ -190,7 +190,7 @@ extern const uint8 _ffb_64[64]; #define FIND_FIRST_BIT(x) _ffb_64[(x)] /** - * Finds the position of the first bit in an integer. + * Finds the position of the first non-zero bit in an integer. * * This function returns the position of the first bit set in the * integer. It does only check the bits of the bitmask diff --git a/src/core/smallvec_type.hpp b/src/core/smallvec_type.hpp index b7d984670..4c6c8bf04 100644 --- a/src/core/smallvec_type.hpp +++ b/src/core/smallvec_type.hpp @@ -22,8 +22,8 @@ * to care about that you grab an item which is * inside the list. * - * @param T The type of the items stored - * @param S The steps of allocation + * @tparam T The type of the items stored + * @tparam S The steps of allocation */ template <typename T, uint S> class SmallVector { |