diff --git a/src/libs/languageserverprotocol/lsptypes.h b/src/libs/languageserverprotocol/lsptypes.h index 21916852c5e..e151e4afa02 100644 --- a/src/libs/languageserverprotocol/lsptypes.h +++ b/src/libs/languageserverprotocol/lsptypes.h @@ -152,7 +152,6 @@ class LANGUAGESERVERPROTOCOL_EXPORT Location : public JsonObject { public: using JsonObject::JsonObject; - Location &operator=(const Location &) = default; DocumentUri uri() const { return DocumentUri::fromProtocol(typedValue(uriKey)); } void setUri(const DocumentUri &uri) { insert(uriKey, uri); } diff --git a/src/libs/languageserverprotocol/messages.h b/src/libs/languageserverprotocol/messages.h index 840f380ce0d..53f5efbaba7 100644 --- a/src/libs/languageserverprotocol/messages.h +++ b/src/libs/languageserverprotocol/messages.h @@ -65,7 +65,6 @@ class LANGUAGESERVERPROTOCOL_EXPORT MessageActionItem : public JsonObject { public: using JsonObject::JsonObject; - MessageActionItem &operator=(const MessageActionItem &) = default; QString title() const { return typedValue(titleKey); } void setTitle(QString title) { insert(titleKey, title); } diff --git a/src/libs/qmljs/qmljsdocument.h b/src/libs/qmljs/qmljsdocument.h index df9e426a347..dd7d19764b0 100644 --- a/src/libs/qmljs/qmljsdocument.h +++ b/src/libs/qmljs/qmljsdocument.h @@ -170,7 +170,6 @@ public: explicit LibraryInfo(const QString &typeInfo); explicit LibraryInfo(const QmlDirParser &parser, const QByteArray &fingerprint = QByteArray()); ~LibraryInfo() = default; - LibraryInfo(const LibraryInfo &other) = default; QByteArray calculateFingerprint() const; void updateFingerprint(); diff --git a/src/libs/utils/ansiescapecodehandler.h b/src/libs/utils/ansiescapecodehandler.h index 4870d593375..2fec51c105c 100644 --- a/src/libs/utils/ansiescapecodehandler.h +++ b/src/libs/utils/ansiescapecodehandler.h @@ -34,7 +34,6 @@ namespace Utils { class QTCREATOR_UTILS_EXPORT FormattedText { public: FormattedText() = default; - FormattedText(const FormattedText &other) = default; FormattedText(const QString &txt, const QTextCharFormat &fmt = QTextCharFormat()) : text(txt), format(fmt) { } diff --git a/src/libs/utils/icon.h b/src/libs/utils/icon.h index d2352be5055..417bbf6c5de 100644 --- a/src/libs/utils/icon.h +++ b/src/libs/utils/icon.h @@ -65,8 +65,6 @@ public: Icon(std::initializer_list args, IconStyleOptions style = ToolBarStyle); Icon(const FilePath &imageFileName); - Icon(const Icon &other) = default; - QIcon icon() const; // Same as icon() but without disabled state. QPixmap pixmap(QIcon::Mode iconMode = QIcon::Normal) const; diff --git a/src/libs/utils/set_algorithm.h b/src/libs/utils/set_algorithm.h index 97e33a047fc..3e79ff87027 100644 --- a/src/libs/utils/set_algorithm.h +++ b/src/libs/utils/set_algorithm.h @@ -45,13 +45,6 @@ public: : m_callable(&callable) {} - function_output_iterator &operator=(const function_output_iterator &iterator) - { - m_callable = iterator.m_callable; - - return *this; - } - struct helper { helper(const Callable *callable) diff --git a/src/plugins/cmakeprojectmanager/configmodel.h b/src/plugins/cmakeprojectmanager/configmodel.h index 95b1ae383db..3d35f7cdeb9 100644 --- a/src/plugins/cmakeprojectmanager/configmodel.h +++ b/src/plugins/cmakeprojectmanager/configmodel.h @@ -122,7 +122,6 @@ private: { public: InternalDataItem(const DataItem &item); - InternalDataItem(const InternalDataItem &item) = default; QString currentValue() const; diff --git a/src/plugins/coreplugin/vcsmanager.cpp b/src/plugins/coreplugin/vcsmanager.cpp index 5d50f9b56cc..148c776352b 100644 --- a/src/plugins/coreplugin/vcsmanager.cpp +++ b/src/plugins/coreplugin/vcsmanager.cpp @@ -68,7 +68,6 @@ public: VcsInfo(IVersionControl *vc, const QString &tl) : versionControl(vc), topLevel(tl) { } - VcsInfo(const VcsInfo &other) = default; bool operator == (const VcsInfo &other) const { diff --git a/src/plugins/qmakeprojectmanager/qmakeparsernodes.h b/src/plugins/qmakeprojectmanager/qmakeparsernodes.h index c463be7ba26..3f5b30d3e58 100644 --- a/src/plugins/qmakeprojectmanager/qmakeparsernodes.h +++ b/src/plugins/qmakeprojectmanager/qmakeparsernodes.h @@ -276,7 +276,6 @@ public: } TargetInformation() = default; - TargetInformation(const TargetInformation &other) = default; }; class QMAKEPROJECTMANAGER_EXPORT InstallsItem {