From 13c6c5f4431aeeb3432c8692bc18990db0a3283f Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 9 Dec 2022 18:25:54 +0200 Subject: [PATCH] Update hash function call --- source/net/protocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/protocol.cpp b/source/net/protocol.cpp index f8bf4c3..1be2402 100644 --- a/source/net/protocol.cpp +++ b/source/net/protocol.cpp @@ -74,7 +74,7 @@ UInt64 Protocol::get_hash() const string description; for(PacketMap::const_iterator i=packet_id_defs.begin(); i!=packet_id_defs.end(); ++i) description += format("%d:%s\n", i->first, i->second->describe()); - return hash64(description); + return hash<64>(description); } -- 2.43.0