-
- Downloads
add explicit capture for `this`
This addresses the following warnings from GCC 9: dune/common/test/testsuite.hh:78:30: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] dune/common/test/testsuite.hh:99:30: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated] Note that pre-C++20 does not allow to explicitly capture `this` when the default capture is `=`. So all captures need to be listed.
Please register or sign in to comment