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…
Reference in New Issue