Delegate string hashing to standard library
commita450a7c6e1e3cf4b72d4a301be5239f888ab7d84
authorChocobo1 <Chocobo1@users.noreply.github.com>
Sat, 18 Mar 2023 06:09:35 +0000 (18 14:09 +0800)
committerGitHub <noreply@github.com>
Sat, 18 Mar 2023 06:09:35 +0000 (18 14:09 +0800)
tree0772861bef857d70ca687c79ab36a5b3e5f53b3b
parentd41a77841d237034eb467074d0acfb33025c21b8
Delegate string hashing to standard library

Since standard library could have platform dependent specialized hashing functions.
Also the main idea is to let `qHash` handle whatever integer type `std::hash` returns and mix it with `seed` accordingly.

PR #18715.
src/base/bittorrent/sessionimpl.cpp
src/base/digest32.h