mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +00:00
cleaup: remove device::operator==()
The last user was removed when including devices in the undo system. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
c893d19ea4
commit
66896ad7d7
2 changed files with 0 additions and 7 deletions
|
@ -12,12 +12,6 @@
|
|||
struct device_table device_table;
|
||||
struct fingerprint_table fingerprint_table;
|
||||
|
||||
bool device::operator==(const device &a) const
|
||||
{
|
||||
return model == a.model &&
|
||||
serialNumber == a.serialNumber;
|
||||
}
|
||||
|
||||
static bool same_device(const device &dev1, const device &dev2)
|
||||
{
|
||||
return strcmp(dev1.model.c_str(), dev2.model.c_str()) == 0 &&
|
||||
|
|
|
@ -67,7 +67,6 @@ extern char *fp_get_data(struct fingerprint_table *table, unsigned int i);
|
|||
#include <string>
|
||||
#include <vector>
|
||||
struct device {
|
||||
bool operator==(const device &a) const; // TODO: remove, once devices are integrated in the undo system
|
||||
bool operator<(const device &a) const;
|
||||
void showchanges(const std::string &n) const;
|
||||
std::string model;
|
||||
|
|
Loading…
Add table
Reference in a new issue