From: Mikko Rasa Date: Wed, 17 Nov 2021 12:39:02 +0000 (+0200) Subject: Change call to hash function X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=617c573cd124920bbb99cd3b012ea286ca749126;p=libs%2Fgui.git Change call to hash function --- diff --git a/source/input/hub.cpp b/source/input/hub.cpp index 13c88d6..b28882f 100644 --- a/source/input/hub.cpp +++ b/source/input/hub.cpp @@ -17,7 +17,7 @@ Hub::Hub() void Hub::attach(Device &dev) { - unsigned tag = hash32(dev.get_name(), 20); + unsigned tag = hash<20>(dev.get_name()); while(devices.count(tag)) ++tag;