aboutsummaryrefslogtreecommitdiff
path: root/lib/converters.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-11-02 16:20:57 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-03-25 22:35:23 +0100
commit80c1747137a3f799a20c4d1f3d1a2baa72084adb (patch)
treea2a3003c84f39e81f6604ab5d4bb8620ccf2bf64 /lib/converters.h
parentc3149cecf3bee2ae4360d5d46dffd5fc4330539e (diff)
downloadlibquotient-80c1747137a3f799a20c4d1f3d1a2baa72084adb.tar.gz
libquotient-80c1747137a3f799a20c4d1f3d1a2baa72084adb.zip
Compatibility with Qt 5.14
Diffstat (limited to 'lib/converters.h')
-rw-r--r--lib/converters.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/converters.h b/lib/converters.h
index af2be645..5c31b93d 100644
--- a/lib/converters.h
+++ b/lib/converters.h
@@ -37,6 +37,7 @@ template <typename T>
using optional = std::experimental::optional<T>;
#endif
+#if QT_VERSION < QT_VERSION_CHECK(5,14,0)
// Enable std::unordered_map<QString, T>
namespace std
{
@@ -51,7 +52,8 @@ namespace std
);
}
};
-}
+} // namespace std
+#endif
class QVariant;