only:dead?
This commit is contained in:
parent
4369cc0682
commit
4bd41049fe
|
@ -27,17 +27,6 @@ struct plain_get_float_s {
|
||||||
float *value;
|
float *value;
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename T, size_t TCount>
|
|
||||||
T* findPair(const char *name, T array[TCount], size_t count) {
|
|
||||||
for (size_t i = 0; i < TCount; i++) {
|
|
||||||
T *current = &array[i];
|
|
||||||
if (strEqualCaseInsensitive(name, current->token)) {
|
|
||||||
return current;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
float getConfigValueByName(const char *name);
|
float getConfigValueByName(const char *name);
|
||||||
/**
|
/**
|
||||||
* @return true if name was recognized, false otherwise
|
* @return true if name was recognized, false otherwise
|
||||||
|
|
Loading…
Reference in New Issue