diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-07-07 15:36:39 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-07-07 15:36:39 -0400 |
commit | 4183eaa5148315df976b85e366636aceadc1c263 (patch) | |
tree | 05dd24c55a3c3c2f30c81edc88456fe5dc48bab3 /misc.h | |
parent | e570e91e52557840b503eb0173fddd3a2f2a3bfa (diff) | |
download | cryptopp-git-4183eaa5148315df976b85e366636aceadc1c263.tar.gz |
Fix spelling
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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.
|