aboutsummaryrefslogtreecommitdiff
path: root/lib/quotient_common.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-06-18 21:39:42 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-06-18 21:39:42 +0200
commit7ef84728ab3744192583eb587a4585c576f5a176 (patch)
tree07570f02d058ad2645778578e85b50b4d3b9721d /lib/quotient_common.h
parent5a63f8a18645d612decdcc853335df0682c41d03 (diff)
downloadlibquotient-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.h9
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)