From a825b4fa5f159604f9f61bafa21b75a22d8944f5 Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 31 Jul 2010 21:02:56 +0000 Subject: (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. --- src/core/bitmath_func.hpp | 4 ++-- src/core/smallvec_type.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core') 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 class SmallVector { -- cgit v1.2.3-54-g00ecf