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
parent
79d7801388
commit
36cf5d905a
|
|
@ -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) {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue