ircd: Remove the $() for hashes. This will make for a better $(event_id) device...

This commit is contained in:
Jason Volk 2017-11-06 12:21:43 -08:00
parent f7ee7ea211
commit 00ac048e68
1 changed files with 0 additions and 7 deletions

View File

@ -38,13 +38,6 @@ namespace ircd
// which can consume many cycles...
template<size_t PRIME = 7681> size_t hash(const std::string &str, const size_t i = 0);
template<size_t PRIME = 7681> size_t hash(const std::u16string &str, const size_t i = 0);
/// ircd:: reserves the $ character over a string as an alias for hash()
template<class string>
constexpr size_t $(string&& s)
{
return hash(std::forward<string>(s));
}
}
/// Collision-Resistant Hashing