mirror of
https://github.com/YACReader/yacreader
synced 2025-05-27 19:00:29 -04:00
Fix build with Qt 6.9.0 (fixes #469)
Support for std::array was added to QDebug in 6.9.0
This commit is contained in:
parent
254652f03e
commit
6e0e6f3bc3
@ -209,6 +209,7 @@ void waitAndPrint(const ConcurrentQueue &queue, const QueueControlMessagePrinter
|
||||
printer.printEndWaitingMessage();
|
||||
}
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 9, 0)
|
||||
template<typename T, std::size_t size>
|
||||
QDebug operator<<(QDebug debug, const std::array<T, size> &array)
|
||||
{
|
||||
@ -225,6 +226,7 @@ QDebug operator<<(QDebug debug, const std::array<T, size> &array)
|
||||
|
||||
return debug;
|
||||
}
|
||||
#endif
|
||||
|
||||
using RandomEngine = std::mt19937_64;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user