Merge pull request #16 from lioncash/rot

Global: Remove unused rotr/rotl functions
This commit is contained in:
Phillip Stephens 2019-09-04 19:35:25 -07:00 committed by GitHub
commit 63ecd31813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -20,6 +20,3 @@ constexpr void hash_combine_impl(SizeT& seed, SizeT value) noexcept {
seed ^= value + 0x9e3779b9 + (seed << 6) + (seed >> 2);
}
} // namespace zeus
constexpr int rotr(int x, int n) { return ((x >> n) | (x << (32 - n))); }
constexpr int rotl(int x, int n) { return ((x << n) | (x >> (32 - n))); }