diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-06-18 21:39:42 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-06-18 21:39:42 +0200 |
commit | 7ef84728ab3744192583eb587a4585c576f5a176 (patch) | |
tree | 07570f02d058ad2645778578e85b50b4d3b9721d /lib/quotient_common.h | |
parent | 5a63f8a18645d612decdcc853335df0682c41d03 (diff) | |
download | libquotient-7ef84728ab3744192583eb587a4585c576f5a176.tar.gz libquotient-7ef84728ab3744192583eb587a4585c576f5a176.zip |
Move C++-only macros to util.h
This pertains to QUO_IMPLICIT and DECL_DEPRECATED_ENUMERATOR - both can
be used with no connection to Qt meta-type system (which is what
quotient_common.h is for).
Diffstat (limited to 'lib/quotient_common.h')
-rw-r--r-- | lib/quotient_common.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/quotient_common.h b/lib/quotient_common.h index 136e9f79..e087e7d3 100644 --- a/lib/quotient_common.h +++ b/lib/quotient_common.h @@ -41,15 +41,6 @@ Q_ENUM_NS_IMPL(Enum) \ Q_FLAG_NS(Flags) -#if __cpp_conditional_explicit >= 201806L -#define QUO_IMPLICIT explicit(false) -#else -#define QUO_IMPLICIT -#endif - -#define DECL_DEPRECATED_ENUMERATOR(Deprecated, Recommended) \ - Deprecated Q_DECL_ENUMERATOR_DEPRECATED_X("Use " #Recommended) = Recommended - namespace Quotient { Q_NAMESPACE_EXPORT(QUOTIENT_API) |