# HG changeset patch # User Mehmet Aslan # Date 2019-02-02 12:02:49 # Node ID 35b29fb4dae53359d5352f4ee356afc258203793 # Parent 59966dd8ab7a3e28ce3d61d407623c0c888aaa89 redefinition of qswap fixed diff --git a/src/floatswap.h b/src/floatswap.h --- a/src/floatswap.h +++ b/src/floatswap.h @@ -1,5 +1,7 @@ #include +#if (QT_VERSION < QT_VERSION_CHECK(5, 12, 0)) + template <> inline float qbswap(float source) { float result; @@ -11,3 +13,5 @@ template <> inline float qbswap(f t[3] = s[0]; return result; } + +#endif