cleanup: remove device::operator!=()

This was not used. Moreover, mark device::operator==() for removal.
This is used for detecting changes in the DiveComputerModel. This
can be removed once that is integrated into the undo system.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-10-05 21:28:26 +02:00 committed by Dirk Hohndel
parent 7415824a8c
commit 7aca64bfca
2 changed files with 1 additions and 7 deletions

View file

@ -203,11 +203,6 @@ bool device::operator==(const device &a) const
nickName == a.nickName;
}
bool device::operator!=(const device &a) const
{
return !(*this == a);
}
bool device::operator<(const device &a) const
{
return std::tie(deviceId, model) < std::tie(a.deviceId, a.model);