X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Finput%2Fhub.cpp;h=b28882f6aad8733944f9002d4abfe6c308c1088f;hb=235af0c1148e6dbce927e56846e851564bd083e8;hp=13c88d63b18b32cb064c6feb5ef3b94ab4f43ab9;hpb=5ffc2443718f5514e4fe27d2aa4ac07022bc4917;p=libs%2Fgui.git 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;