Const correctness fix for optionlist

This commit is contained in:
AlexandreRouma
2023-03-09 15:14:33 +01:00
parent 5f0858bab2
commit 314b8bf72d
4 changed files with 25 additions and 25 deletions

View File

@ -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;
}
};