From 00ac048e684e4d26198dbe7e05065103788fb8a5 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 6 Nov 2017 12:21:43 -0800 Subject: [PATCH] ircd: Remove the $() for hashes. This will make for a better $(event_id) device... --- include/ircd/hash.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/ircd/hash.h b/include/ircd/hash.h index 2fedcb91c..683c70270 100644 --- a/include/ircd/hash.h +++ b/include/ircd/hash.h @@ -38,13 +38,6 @@ namespace ircd // which can consume many cycles... template size_t hash(const std::string &str, const size_t i = 0); template 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 - constexpr size_t $(string&& s) - { - return hash(std::forward(s)); - } } /// Collision-Resistant Hashing