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>
bb10
Giuseppe D'Angelo 2021-04-28 19:41:35 +02:00
parent 79d7801388
commit 36cf5d905a
1 changed files with 0 additions and 4 deletions

View File

@ -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) {}