From: Mikko Rasa Date: Fri, 9 Dec 2022 16:25:54 +0000 (+0200) Subject: Update hash function call X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=13c6c5f4431aeeb3432c8692bc18990db0a3283f;p=libs%2Fnet.git Update hash function call --- 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); }