From 36cf5d905a684dfb9ff9d8e5cce5ee85ae4c95ac Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Wed, 28 Apr 2021 19:41:35 +0200 Subject: QFlags: remove the doc-only declaration of copy operations qdoc is now able to recognize the special members automatically. Change-Id: I773d94d9e622e67340f3acdbe8bff66143ee1aaa Reviewed-by: Thiago Macieira --- src/corelib/global/qflags.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/corelib/global/qflags.h') diff --git a/src/corelib/global/qflags.h b/src/corelib/global/qflags.h index 3305369ff9..772d97a964 100644 --- a/src/corelib/global/qflags.h +++ b/src/corelib/global/qflags.h @@ -105,10 +105,6 @@ public: #endif typedef Enum enum_type; // compiler-generated copy/move ctor/assignment operators are fine! -#ifdef Q_CLANG_QDOC - constexpr inline QFlags(const QFlags &other); - constexpr inline QFlags &operator=(const QFlags &other); -#endif constexpr inline QFlags() noexcept : i(0) {} constexpr inline QFlags(Enum flags) noexcept : i(Int(flags)) {} constexpr inline QFlags(QFlag flag) noexcept : i(flag) {} -- cgit v1.2.3