]> git.tdb.fi Git - libs/net.git/commitdiff
Update hash function call
authorMikko Rasa <tdb@tdb.fi>
Fri, 9 Dec 2022 16:25:54 +0000 (18:25 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 9 Dec 2022 16:41:46 +0000 (18:41 +0200)
source/net/protocol.cpp

index f8bf4c3dd2fdd43c2d42a8f250d746ab44c545d7..1be240221284a13ac5b8cbc17f83f810b3c93e0a 100644 (file)
@@ -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);
 }