From 2d08f989b16dad059d42c94e3a2cdccdbd3c379e Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周一, 04 12月 2023 03:38:52 +0800 Subject: [PATCH] Add more comments --- src/core/qwkcoreglobal_p.h | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/src/core/qwkcoreglobal_p.h b/src/core/qwkcoreglobal_p.h index 5f76437..bde882b 100644 --- a/src/core/qwkcoreglobal_p.h +++ b/src/core/qwkcoreglobal_p.h @@ -24,13 +24,4 @@ # define QWK_FATAL qCFatal(qWindowKitLog) #endif -// MOC can't handle C++ attributes before 5.15. -#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)) -# define Q_NODISCARD [[nodiscard]] -# define Q_MAYBE_UNUSED [[maybe_unused]] -#else -# define Q_NODISCARD -# define Q_MAYBE_UNUSED -#endif - #endif // QWKCOREGLOBAL_P_H -- Gitblit v1.9.1