summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-03-29 12:11:54 +0200
committerGitHub <noreply@github.com>2023-03-29 12:11:54 +0200
commit7ac642eefd2be2b52aa0878ad8d926521fe00a20 (patch)
treec9da1f387331dfd51cbcb6d2b481288b54250d89
parente507b4e608f96ec310f33370d13a6702e2dd213b (diff)
parent8625e8eeb2c21d06d58b7a5a32fb04d2ccd27aac (diff)
Merge pull request #26629 from eltociear/patch-1
Fix typo in optimized.h
-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.
**/