Build fixes for Qt4

This commit is contained in:
Matthias Koefferlein 2025-03-22 00:02:13 +01:00
parent 69a8f3ac11
commit 283a9d0b22
1 changed files with 9 additions and 0 deletions

View File

@ -354,6 +354,15 @@ namespace std
* @brief Generic hash for QString
*/
template <>
struct hash <QChar>
{
size_t operator() (const QChar &o) const
{
return hfunc (o.unicode ());
}
};
template <>
size_t hfunc (const QString &o, size_t h)
{