fix Qt5 compile error

This commit is contained in:
jkriege2 2024-02-06 16:17:28 +01:00
parent 51f0afe4cf
commit d84c67642c

View File

@ -922,7 +922,6 @@ namespace {
inline size_t qHash(const JKQTMathTextCacheKeyBase& data, size_t /*seedin=0*/) { inline size_t qHash(const JKQTMathTextCacheKeyBase& data, size_t /*seedin=0*/) {
#else #else
inline uint qHash(const JKQTMathTextCacheKeyBase& data, uint /*seedin=0*/) { inline uint qHash(const JKQTMathTextCacheKeyBase& data, uint /*seedin=0*/) {
const size_t seed=0;
#endif #endif
std::size_t seed=0; std::size_t seed=0;
jkqtp_combine_hash(seed, ::qHash(data.f,0)); jkqtp_combine_hash(seed, ::qHash(data.f,0));