41 #include "src/geometry.h" |
41 #include "src/geometry.h" |
42 #include "src/typeconversions.h" |
42 #include "src/typeconversions.h" |
43 |
43 |
44 template<typename T> |
44 template<typename T> |
45 using opt = std::optional<T>; |
45 using opt = std::optional<T>; |
|
46 using std::chrono::steady_clock; |
46 |
47 |
47 //! \brief Return type of qHash. unsigned int on Qt5, unsigned long on Qt6. |
48 //! \brief Return type of qHash. unsigned int on Qt5, unsigned long on Qt6. |
48 using hash_t = decltype(qHash(0)); |
49 using hash_t = decltype(qHash(0)); |
49 |
50 |
50 //! \brief Index type of QVector, int on Qt5, qsizetype on Qt6 |
51 //! \brief Index type of QVector, int on Qt5, qsizetype on Qt6 |