Skip to content
Snippets Groups Projects
Commit 57941e97 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

WRG: logical not is only applied to the left hand side of this comparison

parent 7e96f6b6
Branches
Tags
No related merge requests found
...@@ -778,7 +778,7 @@ public: ...@@ -778,7 +778,7 @@ public:
/** documentation link */ /** documentation link */
void SetDocLink(const std::string & link) void SetDocLink(const std::string & link)
{ {
if (!m_Doclink.compare(link) == 0) { if (m_Doclink.compare(link) != 0) {
m_Doclink = link; m_Doclink = link;
this->Modified(); this->Modified();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment