Fix compilation error on linux

This commit is contained in:
Jakub Melka 2023-07-02 09:01:51 +02:00
parent 478c62df31
commit 198b8a54db
1 changed files with 2 additions and 2 deletions

View File

@ -733,6 +733,8 @@ private:
std::vector<ClosedInterval> m_intervals; std::vector<ClosedInterval> m_intervals;
}; };
QDataStream& operator>>(QDataStream& stream, long unsigned int &i);
template<typename T> template<typename T>
QDataStream& operator>>(QDataStream& stream, std::vector<T>& vector) QDataStream& operator>>(QDataStream& stream, std::vector<T>& vector)
{ {
@ -759,8 +761,6 @@ QDataStream& operator<<(QDataStream& stream, const std::vector<T>& vector)
return stream; return stream;
} }
QDataStream& operator>>(QDataStream& stream, long unsigned int &i);
template<typename T, size_t Size> template<typename T, size_t Size>
QDataStream& operator>>(QDataStream& stream, std::array<T, Size>& array) QDataStream& operator>>(QDataStream& stream, std::array<T, Size>& array)
{ {