Skip to content

Commit

Permalink
e
Browse files Browse the repository at this point in the history
  • Loading branch information
sthalik committed Jun 9, 2024
1 parent dbf2936 commit 9af2058
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hash/fnv.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
#include "hash-impl.hpp"
#include "compat/defs.hpp"
#include <utility>

// ReSharper disable CppDefaultCaseNotHandledInSwitchStatement
// NOLINTBEGIN(*-multiway-paths-covered, *-switch-missing-default-case)

namespace floormat::FNVHash {

namespace {

template<size_t N = sizeof nullptr * 8> struct fnvhash_params;
template<> struct fnvhash_params<32> { [[maybe_unused]] static constexpr uint32_t a = 0x811c9dc5u, b = 0x01000193u; };
template<> struct fnvhash_params<64> { [[maybe_unused]] static constexpr uint64_t a = 0xcbf29ce484222325u, b = 0x100000001b3u; };
Expand Down

0 comments on commit 9af2058

Please sign in to comment.