summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorIkko Eltociear Ashimine <eltociear@gmail.com>2023-03-29 18:20:06 +0900
committerGitHub <noreply@github.com>2023-03-29 18:20:06 +0900
commit8625e8eeb2c21d06d58b7a5a32fb04d2ccd27aac (patch)
tree57974a7944481f3e2a610af49a6545c9b86ecc83 /vespalib
parent6f3d174ec08bc5aaa69a5370944ce8c2f4a83958 (diff)
Fix typo in optimized.h
postion -> position
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/util/optimized.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/vespalib/src/vespa/vespalib/util/optimized.h b/vespalib/src/vespa/vespalib/util/optimized.h
index e78372b03ff..a85c1d18c00 100644
--- a/vespalib/src/vespa/vespalib/util/optimized.h
+++ b/vespalib/src/vespa/vespalib/util/optimized.h
@@ -31,7 +31,7 @@ public:
* @fn int Optimized::msbIdx(uint32_t v)
* @brief Quickly find most significant bit.
*
- * Finds the postion of the most significant '1'.
+ * Finds the position of the most significant '1'.
* @param v is the value to search
* @return index [0-31] of msb, 0 if none.
**/
@@ -40,7 +40,7 @@ public:
* @fn int Optimized::msbIdx(uint64_t v)
* @brief Quickly find most significant bit.
*
- * Finds the postion of the most significant '1'.
+ * Finds the position of the most significant '1'.
* @param v is the value to search
* @return index [0-63] of msb, 0 if none.
**/
@@ -49,7 +49,7 @@ public:
* @fn int Optimized::lsbIdx(uint32_t v)
* @brief Quickly find least significant bit.
*
- * Finds the postion of the least significant '1'.
+ * Finds the position of the least significant '1'.
* @param v is the value to search
* @return index [0-31] of lsb, 0 if none.
**/
@@ -58,7 +58,7 @@ public:
* @fn int Optimized::lsbIdx(uint64_t v)
* @brief Quickly find least significant bit.
*
- * Finds the postion of the least significant '1'.
+ * Finds the position of the least significant '1'.
* @param v is the value to search
* @return index [0-63] of lsb, 0 if none.
**/