presence: Remove unused lambda captures

Fix clang-tidy errors:
```
../presence/anyof.cpp:141:22: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
../presence/anyof.cpp:145:23: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
```

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I6d8a48b57f7234e2c1ceaec57f5bcb96fa1d0c5d
diff --git a/presence/anyof.cpp b/presence/anyof.cpp
index 07a31eb..7902fd9 100644
--- a/presence/anyof.cpp
+++ b/presence/anyof.cpp
@@ -138,11 +138,9 @@
     // If at least one, but not all, sensors indicate present, then
     // tell the not present ones to log a conflict if not already done.
     if (std::any_of(state.begin(), state.end(),
-                    [this](const auto& s) {
-                        return std::get<presentPos>(s);
-                    }) &&
+                    [](const auto& s) { return std::get<presentPos>(s); }) &&
         !std::all_of(state.begin(), state.end(),
-                     [this](const auto& s) { return std::get<presentPos>(s); }))
+                     [](const auto& s) { return std::get<presentPos>(s); }))
     {
         for (auto& [sensor, present, conflict] : state)
         {