1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

Qualify a use of auto.

This commit is contained in:
Sadie Powell
2025-01-17 23:54:53 +00:00
parent 0a82366a6b
commit 9bab54af79
+1 -1
View File
@@ -160,7 +160,7 @@ public:
if (!is_hmac && hash_method.compare(0, 4, "raw-", 4))
return; // Not a SHA-2 password.
auto provider = GetAlgorithm(hash_method.substr(is_hmac ? 5 : 4));
auto *provider = GetAlgorithm(hash_method.substr(is_hmac ? 5 : 4));
if (!provider)
return; // Not a hash for this module.