Skip to content

Commit 91f1972

Browse files
committed
issue comment
1 parent fc52363 commit 91f1972

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/nbl/asset/filters/CSummedAreaTableImageFilter.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ class CSummedAreaTableImageFilter : public CMatchedSizeInOutImageFilterCommon, p
171171
const auto&& [copyInBaseLayer, copyOutBaseLayer, copyLayerCount] = std::make_tuple(state->inBaseLayer, state->outBaseLayer, state->layerCount);
172172
state->layerCount = 1u;
173173

174+
// https://stackoverflow.com/questions/46114214/lambda-implicit-capture-fails-with-variable-declared-from-structured-binding
174175
auto resetState = [&, copyInBaseLayer=copyInBaseLayer, copyOutBaseLayer=copyOutBaseLayer, copyLayerCount=copyLayerCount]()
175176
{
176177
state->inBaseLayer = copyInBaseLayer;

0 commit comments

Comments
 (0)