mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-09-07 15:47:49 -04:00
Remove invalid const
const int return value doesn't really exist / is ignored. Fix a warning.
This commit is contained in:
parent
a9e88256e4
commit
7a7bc910b1
@ -174,7 +174,7 @@ std::string SDRDeviceInfo::getDeviceId() {
|
||||
return deviceId;
|
||||
}
|
||||
|
||||
const int SDRDeviceInfo::getIndex() const {
|
||||
int SDRDeviceInfo::getIndex() const {
|
||||
return index;
|
||||
}
|
||||
|
||||
|
@ -85,7 +85,7 @@ public:
|
||||
|
||||
std::string getDeviceId();
|
||||
|
||||
const int getIndex() const;
|
||||
int getIndex() const;
|
||||
void setIndex(const int index);
|
||||
|
||||
bool isAvailable() const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user