diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-04-28 19:41:35 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-05-02 20:25:41 +0200 |
commit | 36cf5d905a684dfb9ff9d8e5cce5ee85ae4c95ac (patch) | |
tree | a142fb5b1f46c1f4f4a9cc4a5f51f3bffce2c706 /src/corelib/global/qflags.h | |
parent | 79d7801388c9443e0f2927c3f5df4ee2c1015ca4 (diff) |
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 <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qflags.h')
-rw-r--r-- | src/corelib/global/qflags.h | 4 |
1 files changed, 0 insertions, 4 deletions
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) {} |