Qbs: fix build clang, mingw

This commit is contained in:
Jakub Melka
2021-12-14 19:28:38 +01:00
parent 0a35c95aa7
commit 92f4055d05
34 changed files with 81 additions and 82 deletions

View File

@ -254,8 +254,14 @@ class PDFIntegerRange
public:
explicit inline constexpr PDFIntegerRange(T begin, T end) : m_begin(begin), m_end(end) { }
struct Iterator : public std::iterator<std::random_access_iterator_tag, T, ptrdiff_t, T*, T&>
struct Iterator
{
using iterator_category = std::random_access_iterator_tag;
using difference_type = ptrdiff_t;
using value_type = T;
using pointer = T*;
using reference = T&;
inline Iterator() : value(T(0)) { }
inline Iterator(T value) : value(value) { }