From 80c1747137a3f799a20c4d1f3d1a2baa72084adb Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sat, 2 Nov 2019 16:20:57 +0900 Subject: Compatibility with Qt 5.14 --- lib/converters.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/converters.h') 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 using optional = std::experimental::optional; #endif +#if QT_VERSION < QT_VERSION_CHECK(5,14,0) // Enable std::unordered_map namespace std { @@ -51,7 +52,8 @@ namespace std ); } }; -} +} // namespace std +#endif class QVariant; -- cgit v1.2.3