Cleanup lambda expressions and directly address Fadeable properties when adding properties

This commit is contained in:
Alexander Bock
2023-04-12 23:20:53 +02:00
parent 19642e8120
commit 7565a91196
67 changed files with 229 additions and 212 deletions

View File

@@ -555,7 +555,7 @@ void RenderableFov::computeIntercepts(double time, const std::string& target,
// Each boundary in _instrument.bounds has 'InterpolationSteps' steps between
auto indexForBounds = [](size_t idx) -> size_t { return idx * InterpolationSteps; };
auto copyFieldOfViewValues = [&](size_t iBound, size_t begin, size_t end) -> void {
auto copyFieldOfViewValues = [this](size_t iBound, size_t begin, size_t end) -> void {
std::fill(
_orthogonalPlane.data.begin() + begin,
_orthogonalPlane.data.begin() + end,