1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-06-27 11:39:16 +02:00

Use propper qHash return values on Qt6

This commit is contained in:
2021-01-10 13:23:43 +01:00
parent 7a664342b6
commit 815071fc55
6 changed files with 23 additions and 11 deletions

View File

@ -1,6 +1,8 @@
#ifndef SEARCHPOINTER_H
#define SEARCHPOINTER_H
#include "common/config.h"
template <class T>
class SearchPointer
{
@ -16,7 +18,7 @@ private:
};
template <class T>
inline uint qHash(const SearchPointer<T> &t)
inline HASH_T qHash(const SearchPointer<T> &t)
{
return ::qHash(*(t.data()));
}