There are two warnings when compiling with GCC 7.4.1 or clang 5.0.1.
- warning: explicit by-copy capture of ‘this’ redundant with by-copy capture default
- warning: typedef ... locally defined but not used [-Wunused-local-typedefs]
This change removes [2] and it compacts the lambda capture clause in [1].