Skip to content

Commit

Permalink
linkconfiguration: Variables that are not connection specific should …
Browse files Browse the repository at this point in the history
…be ignored in tests

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
  • Loading branch information
patrickelectric committed Feb 7, 2020
1 parent 04d7bd5 commit 05804a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/link/linkconfiguration.cpp
Expand Up @@ -141,8 +141,8 @@ bool operator==(const LinkConfiguration& first, const LinkConfiguration& second)
{
auto firstLinkconf = first.configurationStruct();
auto secondLinkconf = second.configurationStruct();
return (firstLinkconf.name == secondLinkconf.name) && (firstLinkconf.type == secondLinkconf.type)
&& (firstLinkconf.args == secondLinkconf.args) && (firstLinkconf.deviceType == secondLinkconf.deviceType);
return (firstLinkconf.type == secondLinkconf.type) && (firstLinkconf.args == secondLinkconf.args)
&& (firstLinkconf.deviceType == secondLinkconf.deviceType);
}

QDebug operator<<(QDebug d, const LinkConfiguration& other)
Expand Down

0 comments on commit 05804a6

Please sign in to comment.