From 2508d45f0b7221efe318470bbc33d67b2b11819b Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Thu, 19 Dec 2024 21:54:57 -0800 Subject: [PATCH] Use std::hash for RTLIL hashing --- kernel/rtlil.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index 8be301688..9f1ed0825 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -2536,7 +2536,8 @@ std::string RTLIL::Module::rtlil_dump() { // Returns a hash of the RTLIL dump unsigned int RTLIL::Module::rtlil_hash() { - return hash_ops::hash(rtlil_dump()); + std::hash hasher; + return hasher(rtlil_dump()); } void RTLIL::Module::swap_names(RTLIL::Cell *c1, RTLIL::Cell *c2)