1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-23 16:25:12 +03:00

getRange(...) won't change the class members any more ...

This commit is contained in:
bsongis 2014-06-21 19:28:03 +02:00
parent f707035af5
commit 99704109eb
2 changed files with 2 additions and 2 deletions

View file

@ -92,7 +92,7 @@ QString getGVarString(int16_t val, bool sign)
}
}
RawSourceRange RawSource::getRange(const ModelData & model, const GeneralSettings & settings, unsigned int flags)
RawSourceRange RawSource::getRange(const ModelData & model, const GeneralSettings & settings, unsigned int flags) const
{
RawSourceRange result;

View file

@ -362,7 +362,7 @@ class RawSource {
QString toString(const ModelData & model);
RawSourceRange getRange(const ModelData & model, const GeneralSettings & settings, unsigned int flags=0);
RawSourceRange getRange(const ModelData & model, const GeneralSettings & settings, unsigned int flags=0) const;
bool operator == ( const RawSource & other) {
return (this->type == other.type) && (this->index == other.index);