mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
7415824a8c
commit
7aca64bfca
2 changed files with 1 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue