Fixup 6bbd88ac: compilation fix for Qt4

This commit is contained in:
Jean-Marc Lasgouttes 2021-09-27 13:56:04 +02:00
parent 73865ce999
commit 69834f1e0d

View File

@ -57,6 +57,15 @@ using namespace lyx::support;
# error "Define at least one of BIDI_USE_OVERRIDE or BIDI_USE_FLAG"
#endif
#if QT_VERSION < 0x050000
inline uint qHash(double key)
{
return qHash(QByteArray(reinterpret_cast<char const *>(&key), sizeof(key)));
}
#endif
namespace std {
/*