diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-05 21:28:26 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-16 14:26:37 -0700 |
commit | 7aca64bfca4b9937369a271da8ed5f9445bb4bad (patch) | |
tree | 03f30afc716e0eaff3221123dbf53f66a5a5f04b /core/device.cpp | |
parent | 7415824a8c6a650bba185686f389b34bcd3ea854 (diff) | |
download | subsurface-7aca64bfca4b9937369a271da8ed5f9445bb4bad.tar.gz |
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>
Diffstat (limited to 'core/device.cpp')
-rw-r--r-- | core/device.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/device.cpp b/core/device.cpp index b688e36eb..1c0d6d5c6 100644 --- a/core/device.cpp +++ b/core/device.cpp @@ -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); |