diff options
Diffstat (limited to 'lib/converters.h')
-rw-r--r-- | lib/converters.h | 4 |
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; |