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:
@ -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()));
|
||||
}
|
||||
|
Reference in New Issue
Block a user