Skip to content

Commit 7a2779d

Browse files
authored
Update QStringStdHash.hpp (#105)
add version constraints for QT
1 parent dd61e4b commit 7a2779d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

QtNodeEditor/include/nodes/internal/QStringStdHash.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <QtCore/QString>
66
#include <QtCore/QVariant>
77

8+
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
89
namespace std
910
{
1011
template<>
@@ -17,3 +18,4 @@ struct hash<QString>
1718
}
1819
};
1920
}
21+
#endif

0 commit comments

Comments
 (0)