From 617c573cd124920bbb99cd3b012ea286ca749126 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 17 Nov 2021 14:39:02 +0200 Subject: [PATCH] Change call to hash function --- source/input/hub.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.43.0