mirror of https://github.com/AxioDL/zeus.git
Merge pull request #16 from lioncash/rot
Global: Remove unused rotr/rotl functions
This commit is contained in:
commit
63ecd31813
|
@ -20,6 +20,3 @@ constexpr void hash_combine_impl(SizeT& seed, SizeT value) noexcept {
|
||||||
seed ^= value + 0x9e3779b9 + (seed << 6) + (seed >> 2);
|
seed ^= value + 0x9e3779b9 + (seed << 6) + (seed >> 2);
|
||||||
}
|
}
|
||||||
} // namespace zeus
|
} // 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))); }
|
|
||||||
|
|
Loading…
Reference in New Issue