Skip to content

Commit

Permalink
Fix cppcheck silencing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaure-kdab committed Sep 25, 2023
1 parent 22c0a14 commit 99fac1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/KDSoapClient/KDSoapMessage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ KDSoapMessage &KDSoapMessage::operator=(const KDSoapMessage &other)
return *this;
}

KDSoapMessage &KDSoapMessage::operator=(const KDSoapValue &other)
KDSoapMessage &KDSoapMessage::operator=(const KDSoapValue &other) // cppcheck-suppress duplInheritedMember
{
KDSoapValue::operator=(other);
return *this;
Expand Down
2 changes: 1 addition & 1 deletion src/KDSoapClient/KDSoapMessage.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class KDSOAP_EXPORT KDSoapMessage : public KDSoapValue
/**
* Fills in KDSoapMessage from a KDSoapValue.
*/
KDSoapMessage &operator=(const KDSoapValue &other); // cppcheck-suppress duplInheritedMembers
KDSoapMessage &operator=(const KDSoapValue &other); // cppcheck-suppress duplInheritedMember

/**
* Compares two KDSoapMessages
Expand Down

0 comments on commit 99fac1a

Please sign in to comment.