summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-07-07 15:36:39 -0400
committerJeffrey Walton <noloader@gmail.com>2020-07-07 15:36:39 -0400
commit4183eaa5148315df976b85e366636aceadc1c263 (patch)
tree05dd24c55a3c3c2f30c81edc88456fe5dc48bab3 /misc.h
parente570e91e52557840b503eb0173fddd3a2f2a3bfa (diff)
downloadcryptopp-git-4183eaa5148315df976b85e366636aceadc1c263.tar.gz
Fix spelling
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc.h b/misc.h
index 18854617..d3274a88 100644
--- a/misc.h
+++ b/misc.h
@@ -1521,7 +1521,7 @@ std::wstring StringWiden(const char *str, bool throwOnError = true);
/// Use rotlMod if the rotate amount R is outside the range.
/// \details Use rotlConstant when the rotate amount is constant. The template function was added
/// because Clang did not propagate the constant when passed as a function parameter. Clang's
-/// need for a constexpr meant rotlFixed failed to compile on occassion.
+/// need for a constexpr meant rotlFixed failed to compile on occasion.
/// \note rotlConstant attempts to enlist a <tt>rotate IMM</tt> instruction because its often faster
/// than a <tt>rotate REG</tt>. Immediate rotates can be up to three times faster than their register
/// counterparts.
@@ -1548,7 +1548,7 @@ template <unsigned int R, class T> inline T rotlConstant(T x)
/// Use rotrMod if the rotate amount R is outside the range.
/// \details Use rotrConstant when the rotate amount is constant. The template function was added
/// because Clang did not propagate the constant when passed as a function parameter. Clang's
-/// need for a constexpr meant rotrFixed failed to compile on occassion.
+/// need for a constexpr meant rotrFixed failed to compile on occasion.
/// \note rotrConstant attempts to enlist a <tt>rotate IMM</tt> instruction because its often faster
/// than a <tt>rotate REG</tt>. Immediate rotates can be up to three times faster than their register
/// counterparts.