Remove invalid const

const int return value doesn't really exist / is ignored. Fix a warning.
This commit is contained in:
Stanisław Pitucha 2016-01-27 11:39:17 +11:00
parent a9e88256e4
commit 7a7bc910b1
2 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ std::string SDRDeviceInfo::getDeviceId() {
return deviceId;
}
const int SDRDeviceInfo::getIndex() const {
int SDRDeviceInfo::getIndex() const {
return index;
}

View File

@ -85,7 +85,7 @@ public:
std::string getDeviceId();
const int getIndex() const;
int getIndex() const;
void setIndex(const int index);
bool isAvailable() const;