Fix MSVC 2022 warnings.
This commit is contained in:
parent
2820fde0ee
commit
da1b6e8c28
|
@ -35,8 +35,18 @@ QT_WARNING_DISABLE_CLANG("-Wweak-vtables")
|
|||
class VPROPERTYEXPLORERSHARED_EXPORT VAbstractPropertyFactory
|
||||
{
|
||||
public:
|
||||
VAbstractPropertyFactory() = default;
|
||||
|
||||
//! Empty virtual destructor
|
||||
virtual ~VAbstractPropertyFactory() {}
|
||||
virtual ~VAbstractPropertyFactory() = default;
|
||||
|
||||
VAbstractPropertyFactory(const VAbstractPropertyFactory &) = default;
|
||||
auto operator=(const VAbstractPropertyFactory &) -> VAbstractPropertyFactory & = default;
|
||||
|
||||
#ifdef Q_COMPILER_RVALUE_REFS
|
||||
VAbstractPropertyFactory(VAbstractPropertyFactory &&) = default;
|
||||
auto operator=(VAbstractPropertyFactory &&) -> VAbstractPropertyFactory & = default;
|
||||
#endif
|
||||
|
||||
//! Creates a new property of a certain type and assigns a name and description (otionally)
|
||||
//! \param type The type of the property as string
|
||||
|
|
|
@ -63,6 +63,14 @@ struct VAbstractToolInitData
|
|||
|
||||
virtual ~VAbstractToolInitData() = default;
|
||||
|
||||
VAbstractToolInitData(const VAbstractToolInitData &) = default;
|
||||
auto operator=(const VAbstractToolInitData &) -> VAbstractToolInitData & = default;
|
||||
|
||||
#ifdef Q_COMPILER_RVALUE_REFS
|
||||
VAbstractToolInitData(VAbstractToolInitData &&) = default;
|
||||
auto operator=(VAbstractToolInitData &&) -> VAbstractToolInitData & = default;
|
||||
#endif
|
||||
|
||||
/** @brief id tool id, 0 if tool doesn't exist yet.*/
|
||||
quint32 id;
|
||||
VMainGraphicsScene *scene;
|
||||
|
|
Loading…
Reference in New Issue
Block a user