Reduce usage of std::bind()
C++14 lambdas are easier to read, easier to debug,
and can usually be better optimized by the compiler.
Change-Id: I294f275904f91942a8de946fe63e77078a7608a6
diff --git a/tests/daemon/table/cs-fixture.hpp b/tests/daemon/table/cs-fixture.hpp
index 4ed5346..9819653 100644
--- a/tests/daemon/table/cs-fixture.hpp
+++ b/tests/daemon/table/cs-fixture.hpp
@@ -80,10 +80,10 @@
std::memcpy(&found, content.value(), sizeof(found));
check(found);
},
- bind([&] {
+ [&] (auto&&...) {
hasResult = true;
check(0);
- }));
+ });
// current Cs::find implementation is synchronous
BOOST_CHECK(hasResult);