mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-27 04:47:51 +02:00
Const correctness fix for optionlist
This commit is contained in:
@ -25,7 +25,7 @@ ConfigManager config;
|
||||
struct DeviceInfo {
|
||||
RtAudio::DeviceInfo info;
|
||||
int id;
|
||||
bool operator==(const struct DeviceInfo& other) {
|
||||
bool operator==(const struct DeviceInfo& other) const {
|
||||
return other.id == id;
|
||||
}
|
||||
};
|
||||
|
@ -39,7 +39,7 @@ namespace hermes {
|
||||
uint8_t gatewareVerMin;
|
||||
BoardID boardId;
|
||||
|
||||
bool operator==(const Info& b) {
|
||||
bool operator==(const Info& b) const {
|
||||
return !memcmp(mac, b.mac, 6);
|
||||
}
|
||||
};
|
||||
|
@ -503,7 +503,7 @@ private:
|
||||
float refStep = 0.5;
|
||||
|
||||
struct SRCombo {
|
||||
bool operator==(const SRCombo& b) {
|
||||
bool operator==(const SRCombo& b) const {
|
||||
return baseId == b.baseId && decimId == b.decimId;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user