mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/graph] Fix missing const_cast
This commit is contained in:
@@ -56,7 +56,7 @@ void IntervalParameterSelectorController::willDisplayCellForIndex(HighlightCell
|
||||
}
|
||||
|
||||
Shared::CartesianFunction::PlotType IntervalParameterSelectorController::plotTypeAtRow(int j) const {
|
||||
assert(0 <= j && j < numberOfRows());
|
||||
assert(0 <= j && j < const_cast<IntervalParameterSelectorController *>(this)->numberOfRows());
|
||||
return static_cast<Shared::CartesianFunction::PlotType>(j);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user