[C++] Fixed unneeded capture in TaskSequencerTest
[C++] Fixed unneeded capture in TaskSequencerTest

* fixed clang warning

bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr